|
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
21 #ifndef ELM_NET_CLIENTSOCKET_H_
22 #define ELM_NET_CLIENTSOCKET_H_
24 #include <elm/net/Exception.h>
25 #include <elm/io/InStream.h>
26 #include <elm/io/OutStream.h>
28 namespace elm {
namespace net {
37 virtual int port(
void)
const = 0;
38 virtual const string&
host(
void)
const = 0;
39 virtual const string&
service(
void)
const = 0;
virtual io::OutStream & out(void)=0
virtual void connect(void)=0
Definition: ClientSocket.h:30
virtual int port(void) const =0
virtual const string & host(void) const =0
virtual ~ClientSocket(void)
Definition: ClientSocket.h:36
static ClientSocket * make(const string &host, int port)
Definition: net_ClientSocket.cpp:248
virtual void disconnect(void)=0
virtual const string & service(void) const =0
Definition: OutStream.h:30
virtual io::InStream & in(void)=0
Definition: InStream.h:29