Public Member Functions |
bool | Init () |
bool | Bind (const IPV4SocketAddress &endpoint) |
bool | GetSocketAddress (IPV4SocketAddress *address) const |
bool | Close () |
int | ReadDescriptor () const |
int | WriteDescriptor () const |
ssize_t | SendTo (const uint8_t *buffer, unsigned int size, const IPV4Address &ip, unsigned short port) const |
ssize_t | SendTo (const uint8_t *buffer, unsigned int size, const IPV4SocketAddress &dest) const |
ssize_t | SendTo (ola::io::IOVecInterface *data, const IPV4Address &ip, unsigned short port) const |
ssize_t | SendTo (ola::io::IOVecInterface *data, const IPV4SocketAddress &dest) const |
bool | RecvFrom (uint8_t *buffer, ssize_t *data_read) const |
bool | RecvFrom (uint8_t *buffer, ssize_t *data_read, IPV4Address &source) const |
bool | RecvFrom (uint8_t *buffer, ssize_t *data_read, IPV4Address &source, uint16_t &port) const |
bool | EnableBroadcast () |
bool | SetMulticastInterface (const IPV4Address &iface) |
bool | JoinMulticast (const IPV4Address &iface, const IPV4Address &group, bool loop=false) |
bool | LeaveMulticast (const IPV4Address &iface, const IPV4Address &group) |
bool | SetTos (uint8_t tos) |
bool | Bind (const IPV4Address &ip, unsigned short port) |
void | SetOnData (ola::Callback0< void > *on_read) |
void | SetOnWritable (ola::Callback0< void > *on_write) |
void | PerformRead () |
void | PerformWrite () |
bool | ValidReadDescriptor () const |
bool | ValidWriteDescriptor () const |
Member Function Documentation
bool ola::network::UDPSocket::SetMulticastInterface |
( |
const IPV4Address & |
iface | ) |
|
|
virtual |
The documentation for this class was generated from the following files:
- include/ola/network/Socket.h
- common/network/Socket.cpp