MCPcopy Create free account
hub / github.com/dermesser/libsocket / inet_socket

Class inet_socket

headers/inetbase.hpp:52–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 */
51
52class inet_socket : public virtual socket {
53 protected:
54 /// The address we're bound or connected to
55 string host;
56 /// The port we're bound or connected to
57 string port;
58 /// Which internet protocol version we're using
59 int proto;
60
61 public:
62 inet_socket();
63
64 const string& gethost(void) const;
65 const string& getport(void) const;
66};
67/**
68 * @}
69 */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected