|
Public Methods |
| | SocketC () |
| | SocketC (SocketType) |
| | SocketC (const SocketC &) |
| | ~SocketC () |
| SocketC & | operator= (const SocketC &) |
| void | Bind (const char *endpoint, const char *localIP=0) |
| void | Listen (int) |
| void | Connect (SockAddressC &des) |
| SocketC | Accept (SockAddressC &) |
| void | SendLongTo (const long &, const SockAddressC &des) |
| void | RecvLongFrom (long &, SockAddressC &addr) |
| long | SendTo (const char *data, int len, const SockAddressC &des) |
| long | RecvFrom (char *data, int buflen, SockAddressC &addr) |
| long | RecvData (char *data, int buflen) |
| void | Send (char *data, int len) |
| void | SendString (const StringC &) |
| void | SendByteArray (ByteArrayC &) |
| void | SendLong (const long &) |
| void | Recv (char *data, int buflen) |
| void | RecvString (StringC &) |
| void | RecvByteArray (ByteArrayC &) |
| void | RecvLong (long &) |
| long | GetMaxMsgSize () |
| void | EnableBroadcast (int) |
| void | EnableReuseAddress (int) |
| void | EnableReusePort (int) |
| SOCKET | GetHandle () |
| short | ReadyToRead () |
Protected Attributes |
| SOCKET | m_socket |
| short | m_port |
| SocketType | m_type |
| sockaddr_in | m_localAddress |
| sockaddr_in | m_destinationAddress |
Private Methods |
| | SocketC (SOCKET) |