|
|
| TcpSocket (const struct addrinfo *host) |
| |
|
uint32_t | Connect () const |
| |
| bool | IsConnectedTo (const struct addrinfo *targetAddresses) const |
| |
|
Frame & | read (Frame &frame, timeval *timeout) const |
| |
|
size_t | read (uint8_t *buffer, size_t maxBytes, timeval *timeout) const |
| |
|
size_t | write (const Frame &frame) const |
| |
|
void | Shutdown () |
| |
|
|
| Socket (const struct addrinfo *host, int type) |
| |
|
bool | Select (timeval *timeout) const |
| |
|
int | m_WSAInitialized |
| |
|
SOCKET | m_Socket |
| |
|
sockaddr_storage | m_SockAddress |
| |
|
const sockaddr *const | m_DestAddr |
| |
|
socklen_t | m_DestAddrLen |
| |
◆ IsConnectedTo()
| bool TcpSocket::IsConnectedTo |
( |
const struct addrinfo * |
targetAddresses | ) |
const |
Confirm if this TcpSocket is connected to one of the target addresses.
- Parameters
-
| [in] | targetAddresses | pointer to a previously allocated list of "struct addrinfo" returned by getaddrinfo(3). |
- Returns
- true, this connection can be used to reach one of the targetAddresses.
The documentation for this struct was generated from the following files: