|
|
|
@ -37,10 +37,12 @@ TR_CLASS(TR_Sock) { |
|
|
|
int handle; |
|
|
|
}; |
|
|
|
|
|
|
|
void TR_socketConnect(TR_Sock this, const char * addr, char (*)[16]); |
|
|
|
void TR_socketListen(TR_Sock this, int backlog); |
|
|
|
TR_Sock TR_socketAccept(TR_Sock this, char (*remoteAddr)[16]); |
|
|
|
void TR_socketNonblock(TR_Sock this); |
|
|
|
void TR_socketConnect(TR_Sock this, const char * addr, char (*)[16]); |
|
|
|
void TR_socketListen(TR_Sock this, int backlog); |
|
|
|
TR_Sock TR_socketAccept(TR_Sock this, char (*remoteAddr)[16]); |
|
|
|
void TR_socketNonblock(TR_Sock this); |
|
|
|
in_addr_t TR_socketGetIp(TR_Sock this); |
|
|
|
const char * const TR_socketGetIpStr(TR_Sock this); |
|
|
|
|
|
|
|
#endif // __TR_SOCKET_H__ |
|
|
|
|
|
|
|
|