|
| static void | initSockets () |
| bool | isValidPortNumber (int port) noexcept |
| template<typename Type> |
| static bool | setOption (SocketHandle handle, int mode, int property, Type value) noexcept |
| template<typename Type> |
| static bool | setOption (SocketHandle handle, int property, Type value) noexcept |
| static bool | resetSocketOptions (SocketHandle handle, bool isDatagram, bool allowBroadcast) noexcept |
| static void | closeSocket (std::atomic< int > &handle, CriticalSection &readLock, bool isListener, int portNumber, std::atomic< bool > &connected) noexcept |
| static bool | bindSocket (SocketHandle handle, int port, const String &address) noexcept |
| static int | getBoundPort (SocketHandle handle) noexcept |
| static String | getConnectedAddress (SocketHandle handle) noexcept |
| static bool | setSocketBlockingState (SocketHandle handle, bool shouldBlock) noexcept |
| static bool | getSocketBlockingState (SocketHandle handle) |
| static int | readSocket (SocketHandle handle, void *destBuffer, int maxBytesToRead, std::atomic< bool > &connected, bool blockUntilSpecifiedAmountHasArrived, CriticalSection &readLock, String *senderIP=nullptr, int *senderPort=nullptr) noexcept |
| static int | waitForReadiness (std::atomic< int > &handle, CriticalSection &readLock, bool forReading, int timeoutMsecs) noexcept |
| static addrinfo * | getAddressInfo (bool isDatagram, const String &hostName, int portNumber) |
| static bool | connectSocket (std::atomic< int > &handle, CriticalSection &readLock, const String &hostName, int portNumber, int timeOutMillisecs) noexcept |
| static void | makeReusable (int handle) noexcept |
| static bool | multicast (int handle, const String &multicastIPAddress, const String &interfaceIPAddress, bool join) noexcept |