|
VICI
0.11.815
Visual Chart Interpreter
|
A UDP client socket. More...
#include <sos/udpsocket.h>
Public Member Functions | |
| UDPClientSocket (csr host, int portid) | |
| Constructor. More... | |
Public Member Functions inherited from VICI::cfi::UDPSocket | |
| virtual | ~UDPSocket () |
| destructor | |
| int | fd () |
| get the file descriptor for the socket | |
| void | send (csr message) |
| send a message via the socket's file descriptor More... | |
| void | recv (std::string &message, std::string &host, int &port) |
| wait for the next incoming message More... | |
Additional Inherited Members | |
Static Public Attributes inherited from VICI::cfi::UDPSocket | |
| static const int | BUFFER_SIZE = 16000 |
Protected Member Functions inherited from VICI::cfi::UDPSocket | |
| UDPSocket () | |
| constructor | |
Protected Attributes inherited from VICI::cfi::UDPSocket | |
| struct sockaddr_in | addr |
| internal address structure | |
| unsigned int | addr_len |
| size of address structure | |
| int | sd |
| file descriptor | |
A UDP client socket.
A UDP socket which send messages to a specified server.
| UDPClientSocket::UDPClientSocket | ( | csr | host, |
| int | portid | ||
| ) |
Constructor.
| host | the name of the server to send to |
| portid | the port for the listening server |
1.8.5