Crossfire Server, Branches 1.12  R18729
Socket_Info Struct Reference

#include <newserver.h>

+ Collaboration diagram for Socket_Info:

Data Fields

int allocated_sockets
 
int max_filedescriptor
 
int nconns
 
struct timeval timeout
 

Detailed Description

Holds some system-related information.

Definition at line 171 of file newserver.h.

Field Documentation

int Socket_Info::allocated_sockets

Number of allocated in init_sockets.

Definition at line 175 of file newserver.h.

Referenced by do_server(), and init_server().

int Socket_Info::max_filedescriptor

max filedescriptor on the system.

Definition at line 173 of file newserver.h.

Referenced by block_until_new_connection(), do_server(), and init_server().

int Socket_Info::nconns

Number of connections.

Definition at line 174 of file newserver.h.

Referenced by add_me_cmd(), do_server(), init_connection(), and init_server().

struct timeval Socket_Info::timeout

Timeout for select.

Definition at line 172 of file newserver.h.

Referenced by do_server(), and init_server().


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