Public 类型 | |
enum | SocketType { TCP = SOCK_STREAM , UDP = SOCK_DGRAM } |
Public 成员函数 | |
std::string | remoteAddress () const |
int | remotePort () const |
int | fileDescriptor () const |
Public 属性 | |
sockaddr_in | address |
Protected 成员函数 | |
BaseSocket (FDR_ON_ERROR, SocketType sockType=TCP, int socketId=-1) | |
Protected 属性 | |
int | sock = 0 |
bool | hasSetNoblock =false |