C
struct BSDSocket { int SocketType; BSD_SCK_STATE bsdState; WORD localPort; WORD remotePort; DWORD remoteIP; int backlog; BOOL isServer; TCP_SOCKET SocketID; };
Description
Berkeley Socket structure
Members
Members |
Description |
int SocketType; |
Socket type |
BSD_SCK_STATE bsdState; |
Socket state |
WORD localPort; |
local port |
WORD remotePort; |
remote port |
DWORD remoteIP; |
remote IP |
int backlog; |
maximum number or client connection |
BOOL isServer; |
server/client check |
TCP_SOCKET SocketID; |
Socket ID |