1 #ifndef LIBSOCKET_INETCLIENTSTREAM_H_64300E32D2CB4AD99D557F79F8D340CA 2 #define LIBSOCKET_INETCLIENTSTREAM_H_64300E32D2CB4AD99D557F79F8D340CA 4 #include <sys/socket.h> 57 inet_stream(
const char* dsthost,
const char* dstport,
int proto_osi3,
59 inet_stream(
const string& dsthost,
const string& dstport,
int proto_osi3,
62 void connect(
const char* dsthost,
const char* dstport,
int proto_osi3,
64 void connect(
const string& dsthost,
const string& dstport,
int proto_osi3,
Contains libsocket elements.
Provides TCP/IP client sockets. This class is the most used socket class in libsocket++....
void connect(const char *dsthost, const char *dstport, int proto_osi3, int flags=0)
Set up socket if not already done.
Internet-socket base class This class provides some fields for all internet sockets,...
Generic socket for active stream sockets (TCP client sockets, UNIX Stream clients)
TCP server socket (passive TCP socket)
inet_stream(void)
Void constructor; call connect() before using the socket!