1 #ifndef LIBSOCKET_INETSERVERDGRAM_H_369D8FFD83DD4A78A5A2E3F12EFD0A60 2 #define LIBSOCKET_INETSERVERDGRAM_H_369D8FFD83DD4A78A5A2E3F12EFD0A60 57 void setup(
const char*
host,
const char*
port,
int proto_osi3,
59 void setup(
const string&
host,
const string&
port,
int proto_osi3,
Contains libsocket elements.
inet_dgram_server(const char *host, const char *port, int proto_osi3, int flags=0)
Create datagram socket and bind it.
string port
The port we're bound or connected to.
void setup(const char *host, const char *port, int proto_osi3, int flags=0)
Set up socket. NOT FOR EXTERNAL USE
Base class for UDP/IP sockets.
string host
The address we're bound or connected to.