Functions | |
String | inetAddrToString (UInt64 addr) |
int | waitForIO (SocketHandle_t fd, int timeOutSecs, SocketFlags::EWaitDirectionFlag forInput) |
Wait for input or output on a socket. | |
String | getFullyQualifiedHostName () |
Get the fully qualified host name. |
|
Get the fully qualified host name. This function can be expensive performance-wise. It may query multiple DNS servers. If the network is not working correctly, it will fail and throw an exception.
Definition at line 267 of file SocketUtils.cpp. References BLOCXX_GETHOSTBYNAME_R_ARGUMENTS, BLOCXX_THROW, and i. |
|
Definition at line 91 of file SocketUtils.cpp. Referenced by BLOCXX_NAMESPACE::NwIface::getBroadcastAddressString(), BLOCXX_NAMESPACE::NwIface::getIPAddressString(), and BLOCXX_NAMESPACE::NwIface::getNetmaskString(). |
|