Crossfire Server, Trunk
Socket_Info Struct Reference

#include <newserver.h>

+ Collaboration diagram for Socket_Info:

Data Fields

int allocated_sockets
 
int max_filedescriptor
 
struct timeval timeout
 

Detailed Description

Holds some system-related information.

Definition at line 141 of file newserver.h.

Field Documentation

◆ allocated_sockets

int Socket_Info::allocated_sockets

Number of allocated items in init_sockets.

Definition at line 144 of file newserver.h.

Referenced by check_all_fds(), command_recollect(), do_server(), free_all_newserver(), init_connection(), init_server(), and new_connection().

◆ max_filedescriptor

int Socket_Info::max_filedescriptor

max filedescriptor on the system.

Definition at line 143 of file newserver.h.

Referenced by do_server(), and init_server().

◆ timeout

struct timeval Socket_Info::timeout

Timeout for select.

Definition at line 142 of file newserver.h.

Referenced by do_server(), and init_server().


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