Crossfire Server, Trunk  R20513
Data Fields
listen_info Struct Reference

Contains parameters for socket() and bind() for listening sockets. More...

#include <newserver.h>

Collaboration diagram for listen_info:
Collaboration graph

Data Fields

struct sockaddr * addr
 
socklen_t addrlen
 
int family
 
int protocol
 
int socktype
 

Detailed Description

Contains parameters for socket() and bind() for listening sockets.

This struct contains most fields of "struct addrinfo", but older systems do not know struct addrinfo yet.

Definition at line 75 of file newserver.h.

Field Documentation

struct sockaddr* listen_info::addr

Definition at line 80 of file newserver.h.

Referenced by init_listening_socket(), and init_server().

socklen_t listen_info::addrlen

Definition at line 79 of file newserver.h.

Referenced by init_listening_socket(), and init_server().

int listen_info::family

Definition at line 76 of file newserver.h.

Referenced by init_listening_socket(), and init_server().

int listen_info::protocol

Definition at line 78 of file newserver.h.

Referenced by init_listening_socket(), and init_server().

int listen_info::socktype

Definition at line 77 of file newserver.h.

Referenced by init_listening_socket(), and init_server().


The documentation for this struct was generated from the following file: