ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
tcp_transport_data_t Struct Reference

TCP transport implementation data. More...

Data Fields

socket_t sockfd
 Socket descriptor (NOT owned - don't close)
 
bool is_connected
 Connection state.
 
mutex_t send_mutex
 Mutex to protect concurrent sends (multiple threads may send packets)
 

Detailed Description

TCP transport implementation data.

Definition at line 27 of file tcp/transport.c.

Field Documentation

◆ is_connected

bool tcp_transport_data_t::is_connected

Connection state.

Definition at line 29 of file tcp/transport.c.

Referenced by acip_tcp_transport_create().

◆ send_mutex

mutex_t tcp_transport_data_t::send_mutex

Mutex to protect concurrent sends (multiple threads may send packets)

Definition at line 30 of file tcp/transport.c.

Referenced by acip_tcp_transport_create().

◆ sockfd

socket_t tcp_transport_data_t::sockfd

Socket descriptor (NOT owned - don't close)

Definition at line 28 of file tcp/transport.c.

Referenced by acip_tcp_transport_create().


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