EchoTcpConnection Struct Reference

Echo TCP connection. More...

#include <echo_server.h>

Data Fields

EchoTcpConnectionState state
 Connection state. More...
 
Socketsocket
 Underlying TCP socket. More...
 
systime_t timestamp
 Time stamp. More...
 
char_t buffer [ECHO_SERVER_TCP_BUFFER_SIZE]
 Memory buffer for input/output operations (TCP) More...
 
size_t bufferLen
 Length of the buffer, in bytes. More...
 
size_t bufferPos
 Current position in the buffer. More...
 

Detailed Description

Echo TCP connection.

Definition at line 147 of file echo_server.h.

Field Documentation

◆ buffer

Memory buffer for input/output operations (TCP)

Definition at line 152 of file echo_server.h.

◆ bufferLen

size_t bufferLen

Length of the buffer, in bytes.

Definition at line 153 of file echo_server.h.

◆ bufferPos

size_t bufferPos

Current position in the buffer.

Definition at line 154 of file echo_server.h.

◆ socket

Socket* socket

Underlying TCP socket.

Definition at line 150 of file echo_server.h.

◆ state

Connection state.

Definition at line 149 of file echo_server.h.

◆ timestamp

systime_t timestamp

Time stamp.

Definition at line 151 of file echo_server.h.


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