Crossfire Server, Trunk
listen_info Struct Reference

#include <newserver.h>

+ Collaboration diagram for listen_info:

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

◆ addr

struct sockaddr* listen_info::addr

Definition at line 80 of file newserver.h.

Referenced by init_listening_socket(), and init_server().

◆ addrlen

socklen_t listen_info::addrlen

Definition at line 79 of file newserver.h.

Referenced by init_listening_socket(), and init_server().

◆ family

int listen_info::family

Definition at line 76 of file newserver.h.

Referenced by init_listening_socket(), and init_server().

◆ protocol

int listen_info::protocol

Definition at line 78 of file newserver.h.

Referenced by init_listening_socket(), and init_server().

◆ socktype

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: