1 #ifndef LIBSOCKET_INETDGRAMCLIENT_H_1E7B8B3247594112BB2CEB2895E916E4 2 #define LIBSOCKET_INETDGRAMCLIENT_H_1E7B8B3247594112BB2CEB2895E916E4 4 #include <sys/socket.h> 63 int proto_osi3,
int flags = 0);
67 void connect(
const char* dsthost,
const char* dstport);
68 void connect(
const string& dsthost,
const string& dstport);
73 void setup(
int proto_osi3,
int flags = 0);
74 void setup(
const char* dsthost,
const char* dstport,
int proto_osi3,
76 void setup(
const string& dsthost,
const string& dstport,
int proto_osi3,
Contains libsocket elements.
Using UDP/IP easy as never before. Class for connectable datagram sockets in the INET domain....
Represents a generic "client" datagram socket, i.e. a datagram socket which can be connected.
void setup(int proto_osi3, int flags=0)
Set up normal datagram socket (connectable). [NOT FOR EXTERNAL USE].
void connect(const char *dsthost, const char *dstport)
Connect datagram socket.
Base class for UDP/IP sockets.
inet_dgram_client(int proto_osi3, int flags=0)
Create normal datagram socket (connectable).