|
Mixes for Privacy and Anonymity in the Internet
|
Public Member Functions | |
| CADatagramSocket () | |
| ~CADatagramSocket () | |
| SINT32 | create () |
| SINT32 | create (int type) |
| SINT32 | close () |
| SINT32 | bind (CASocketAddr &psa) |
| SINT32 | bind (UINT16 port) |
| SINT32 | send (UINT8 *buff, UINT32 len, CASocketAddr &to) |
| SINT32 | receive (UINT8 *buff, UINT32 len, CASocketAddr *from) |
| SOCKET | getSocket () |
Private Attributes | |
| SOCKET | m_Socket |
References m_Socket.
References close().
| SINT32 CADatagramSocket::bind | ( | CASocketAddr & | psa | ) |
References create(), E_SUCCESS, CASocketAddr::getSize(), CASocketAddr::getType(), CASocketAddr::LPSOCKADDR(), m_Socket, and SOCKET_ERROR.
Referenced by bind().
| SINT32 CADatagramSocket::bind | ( | UINT16 | port | ) |
References bind().
References closesocket, m_Socket, and SOCKET_ERROR.
Referenced by ~CADatagramSocket().
Referenced by bind().
| SINT32 CADatagramSocket::create | ( | int | type | ) |
References E_SUCCESS, INVALID_SOCKET, m_Socket, and SOCKET_ERROR.
References m_Socket.
| SINT32 CADatagramSocket::receive | ( | UINT8 * | buff, |
| UINT32 | len, | ||
| CASocketAddr * | from | ||
| ) |
References CASocketAddr::getSize(), m_Socket, and MSG_NOSIGNAL.
| SINT32 CADatagramSocket::send | ( | UINT8 * | buff, |
| UINT32 | len, | ||
| CASocketAddr & | to | ||
| ) |
References E_SUCCESS, E_UNKNOWN, CASocketAddr::getSize(), CASocketAddr::LPSOCKADDR(), m_Socket, MSG_NOSIGNAL, and SOCKET_ERROR.
SOCKET CADatagramSocket::m_Socket [private] |
Referenced by bind(), CADatagramSocket(), close(), create(), getSocket(), receive(), and send().
1.7.6.1