X-Git-Url: http://git.tdb.fi/?p=libs%2Fnet.git;a=blobdiff_plain;f=source%2Fnet%2Fclientsocket.h;h=0b570cd7afa634357274d620a5b8980d22f025f9;hp=db684f4a5d32dc99ae873379eccc58eaea2df15a;hb=fa637ffb18421300e401a782d28dd729a3960ac4;hpb=50e9f9ea7f7385a2c5931fca2b8fb1103078e67c diff --git a/source/net/clientsocket.h b/source/net/clientsocket.h index db684f4..0b570cd 100644 --- a/source/net/clientsocket.h +++ b/source/net/clientsocket.h @@ -38,6 +38,8 @@ public: bool is_connecting() const { return connecting; } bool is_connected() const { return connected; } + void shutdown(IO::Mode); + const SockAddr &get_peer_address() const; protected: virtual unsigned do_write(const char *, unsigned);