fastdo
0.6.8
|
类 | |
class | Socket |
TCP/IP套接字 更多... | |
函数 | |
int | ConnectAttempt (Socket *sock, EndPoint const &ep, winux::uint32 timeoutMs) |
阻塞模式Socket连接尝试,连接成功返回0,超时返回1,失败返回-1 更多... | |
int | ConnectAttempt (Socket *sock, Resolver const &resolver, winux::uint32 perCnnTimeoutMs) |
阻塞模式Socket连接尝试,连接成功返回0,超时返回1,失败返回-1 更多... | |
int eiennet::ip::tcp::ConnectAttempt | ( | Socket * | sock, |
EndPoint const & | ep, | ||
winux::uint32 | timeoutMs | ||
) |
阻塞模式Socket连接尝试,连接成功返回0,超时返回1,失败返回-1
int eiennet::ip::tcp::ConnectAttempt | ( | Socket * | sock, |
Resolver const & | resolver, | ||
winux::uint32 | perCnnTimeoutMs | ||
) |
阻塞模式Socket连接尝试,连接成功返回0,超时返回1,失败返回-1
sock | Socket* |
resolver | Resolver |
perCnnTimeoutMs | uint32 表示每次尝试连接设定的超时值 |