Echo server context. More...
#include <echo_server.h>
Data Fields | |
EchoServerSettings | settings |
User settings. More... | |
bool_t | running |
Operational state of the Echo server. More... | |
bool_t | stop |
Stop request. More... | |
OsEvent | event |
Event object used to poll the sockets. More... | |
OsTaskParameters | taskParams |
Task parameters. More... | |
OsTaskId | taskId |
Task identifier. More... | |
Socket * | tcpSocket |
Listening TCP socket. More... | |
EchoTcpConnection | tcpConnection [ECHO_SERVER_MAX_TCP_CONNECTIONS] |
TCP connections. More... | |
Socket * | udpSocket |
UDP socket. More... | |
char_t | udpBuffer [ECHO_SERVER_UDP_BUFFER_SIZE] |
Memory buffer for input/output operations (UDP) More... | |
Detailed Description
Echo server context.
Definition at line 162 of file echo_server.h.
Field Documentation
◆ event
OsEvent event |
Event object used to poll the sockets.
Definition at line 167 of file echo_server.h.
◆ running
bool_t running |
Operational state of the Echo server.
Definition at line 165 of file echo_server.h.
◆ settings
EchoServerSettings settings |
User settings.
Definition at line 164 of file echo_server.h.
◆ stop
bool_t stop |
Stop request.
Definition at line 166 of file echo_server.h.
◆ taskId
OsTaskId taskId |
Task identifier.
Definition at line 169 of file echo_server.h.
◆ taskParams
OsTaskParameters taskParams |
Task parameters.
Definition at line 168 of file echo_server.h.
◆ tcpConnection
EchoTcpConnection tcpConnection[ECHO_SERVER_MAX_TCP_CONNECTIONS] |
TCP connections.
Definition at line 172 of file echo_server.h.
◆ tcpSocket
Socket* tcpSocket |
Listening TCP socket.
Definition at line 171 of file echo_server.h.
◆ udpBuffer
char_t udpBuffer[ECHO_SERVER_UDP_BUFFER_SIZE] |
Memory buffer for input/output operations (UDP)
Definition at line 176 of file echo_server.h.
◆ udpSocket
Socket* udpSocket |
UDP socket.
Definition at line 175 of file echo_server.h.
The documentation for this struct was generated from the following file:
- cyclone_tcp/echo/echo_server.h