STTNet 0.7.0
Loading...
Searching...
No Matches
stt::network::TcpInformation Struct Reference

保存Tcp客户端的信息 More...

#include <sttnet.h>

Public Attributes

int fd =-1
 套接字fd
 
uint64_t connection_obj_fd =0
 连接对象fd
 
std::string data
 裸数据
 
std::unordered_map< std::string, std::any > ctx
 所需的数据仓库
 

Detailed Description

保存Tcp客户端的信息

Member Data Documentation

◆ connection_obj_fd

uint64_t stt::network::TcpInformation::connection_obj_fd =0

连接对象fd

◆ ctx

std::unordered_map<std::string,std::any> stt::network::TcpInformation::ctx

所需的数据仓库

◆ data

std::string stt::network::TcpInformation::data

裸数据

◆ fd

int stt::network::TcpInformation::fd =-1

套接字fd


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