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 258 of file OW_SocketUtils.cpp. References OW_NAMESPACE::gethostbynameMutex, i, and OW_THROW. |
|
Definition at line 81 of file OW_SocketUtils.cpp. References s. Referenced by OW_NAMESPACE::NwIface::getBroadcastAddressString(), OW_NAMESPACE::NwIface::getIPAddressString(), and OW_NAMESPACE::NwIface::getNetmaskString(). |
|