Crossfire Server, Branch 1.12  R12190
Data Fields
Socket_Info Struct Reference

Holds some system-related information. More...

#include <newserver.h>

Data Fields

int allocated_sockets
 Number of allocated in init_sockets.
int max_filedescriptor
 max filedescriptor on the system.
int nconns
 Number of connections.
struct timeval timeout
 Timeout for select.

Detailed Description

Holds some system-related information.

Definition at line 171 of file newserver.h.


Field Documentation

Number of allocated in init_sockets.

Definition at line 175 of file newserver.h.

Referenced by do_server(), and init_server().

max filedescriptor on the system.

Definition at line 173 of file newserver.h.

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

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: