UDP/IP socket class.
More...
#include <udp_socket.h>
virtual void uicore::UDPSocket::bind |
( |
const SocketName & |
endpoint | ) |
|
|
pure virtual |
Bind socket to end point.
virtual void uicore::UDPSocket::close |
( |
| ) |
|
|
pure virtual |
static std::shared_ptr<UDPSocket> uicore::UDPSocket::create |
( |
| ) |
|
|
static |
virtual int uicore::UDPSocket::read |
( |
void * |
data, |
|
|
int |
size, |
|
|
SocketName & |
endpoint |
|
) |
| |
|
pure virtual |
Read receved UDP packet.
- Returns
- Bytes read or 0 if no packet was available
virtual void uicore::UDPSocket::send |
( |
const void * |
data, |
|
|
int |
size, |
|
|
const SocketName & |
endpoint |
|
) |
| |
|
pure virtual |
Send UDP packet to end point.
The documentation for this class was generated from the following file: