Robotran C Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Attributes | List of all members
ws_cli_conn_t Struct Reference

Client socks. More...

Public Attributes

int client_sock
 Client socket FD. More...
 
int state
 WebSocket current state. More...
 
struct ws_server ws_srv
 
pthread_mutex_t mtx_state
 
pthread_cond_t cnd_state_close
 
pthread_t thrd_tout
 
bool close_thrd
 
pthread_mutex_t mtx_snd
 
char ip [1025]
 
char port [32]
 
int32_t last_pong_id
 
int32_t current_ping_id
 
pthread_mutex_t mtx_ping
 
void * connection_context
 

Detailed Description

Client socks.

Member Data Documentation

◆ client_sock

int client_sock

Client socket FD.


◆ close_thrd

bool close_thrd

◆ cnd_state_close

pthread_cond_t cnd_state_close

◆ connection_context

void* connection_context

◆ current_ping_id

int32_t current_ping_id

◆ ip

char ip[1025]

◆ last_pong_id

int32_t last_pong_id

◆ mtx_ping

pthread_mutex_t mtx_ping

◆ mtx_snd

pthread_mutex_t mtx_snd

◆ mtx_state

pthread_mutex_t mtx_state

◆ port

char port[32]

◆ state

int state

WebSocket current state.

◆ thrd_tout

pthread_t thrd_tout

◆ ws_srv

struct ws_server ws_srv

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