1 #ifndef LIBSOCKET_INETBASE_H_6EDE111E3CDD4B07A94ECF4BD4E353C1 2 #define LIBSOCKET_INETBASE_H_6EDE111E3CDD4B07A94ECF4BD4E353C1 64 const string&
gethost(
void)
const;
65 const string&
getport(
void)
const;
Contains libsocket elements.
const string & getport(void) const
socket is the base class of every other libsocket++ object.
Internet-socket base class This class provides some fields for all internet sockets,...
string port
The port we're bound or connected to.
int proto
Which internet protocol version we're using.
const string & gethost(void) const
string host
The address we're bound or connected to.
Contains all functions available in the C libsocket.