Choco OS
V.0.16.9.0
Join to the chocolate world
|
stores TCP server data More...
Data Fields | |
oC_ObjectControl_t | ObjectControl |
Special field for storing magic cookie that helps to recognize correct TCP server object. | |
oC_Tcp_Connection_Config_t | ConnectionConfig |
Configuration of connections of the server. | |
oC_Process_t | Process |
Process assiociated with the server. | |
oC_Thread_t | Thread |
Thread for handling the server. | |
oC_Semaphore_t | NewConnectionSemaphore |
Semaphore that counts new connections - connections that are currently not handled. | |
oC_Semaphore_t | FreeSlotsSemaphore |
Semaphore that counts free slots for connections. | |
char | Name [30] |
Name of the TCP server. | |
ConnFinishedFunction_t | ConnectionFinishedFunction |
Pointer to the function to call when the connection has finished. | |
void * | ConnectionFinishedParameter |
Parameter to give to the connection finished function. | |
bool | Running |
The flag is set to true if the server is already running. | |
uint32_t | MaxConnections |
Maximum number of connections that server can handle. | |
ConnectionSlot_t | Connections [1] |
Array with TCP connections slots. More... | |
Definition at line 67 of file oc_tcp_server.c.
ConnectionSlot_t Connections[1] |
Definition at line 80 of file oc_tcp_server.c.