#include <sock.h>
Inheritance diagram for SST::UdpSocket:
Public Member Functions | |
UdpSocket (SocketHostState *host, QObject *parent=NULL) | |
bool | bind (const QHostAddress &addr=QHostAddress::Any, quint16 port=0, QUdpSocket::BindMode mode=QUdpSocket::DefaultForPlatform) |
Bind this UDP socket to a port and activate it if successful. | |
bool | send (const Endpoint &ep, const char *data, int size) |
Send a packet on this socket. | |
QList< Endpoint > | localEndpoints () |
Find all known local endpoints referring to this socket. | |
quint16 | localPort () |
QString | errorString () |
Return a description of any error detected on bind() or send(). |
|
Bind this UDP socket to a port and activate it if successful.
Implements SST::Socket. |
|
Find all known local endpoints referring to this socket.
Implements SST::Socket. |
|
Send a packet on this socket.
Implements SST::Socket. |