STTNet
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Attributes | List of all members
stt::network::TcpFDInf Struct Reference

Structure to save TCP client information. More...

#include <sttnet_English.h>

Public Attributes

int fd
 Socket file descriptor. More...
 
std::string ip
 Client IP. More...
 
std::string port
 Client port. More...
 
int status
 The current fd status, used to save the processor logic. More...
 
std::string_view data
 Save the data received from the client. More...
 
SSL * ssl
 If encrypted, store the encryption handle. More...
 
TLSState tls_state
 tls state More...
 
char * buffer
 Receives the space pointer. More...
 
unsigned long p_buffer_now
 Receives a spatial position pointer. More...
 
int FDStatus
 Record which step the current state machine is at. More...
 
std::queue< std::any > pendindQueue
 Queue waiting to be processed. More...
 

Detailed Description

Structure to save TCP client information.

Member Data Documentation

char* stt::network::TcpFDInf::buffer

Receives the space pointer.

std::string_view stt::network::TcpFDInf::data

Save the data received from the client.

int stt::network::TcpFDInf::fd

Socket file descriptor.

int stt::network::TcpFDInf::FDStatus

Record which step the current state machine is at.

std::string stt::network::TcpFDInf::ip

Client IP.

unsigned long stt::network::TcpFDInf::p_buffer_now

Receives a spatial position pointer.

std::queue<std::any> stt::network::TcpFDInf::pendindQueue

Queue waiting to be processed.

std::string stt::network::TcpFDInf::port

Client port.

SSL* stt::network::TcpFDInf::ssl

If encrypted, store the encryption handle.

int stt::network::TcpFDInf::status

The current fd status, used to save the processor logic.

TLSState stt::network::TcpFDInf::tls_state

tls state


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