X-Git-Url: http://git.tdb.fi/?p=libs%2Fnet.git;a=blobdiff_plain;f=source%2Fnet%2Fclientsocket.h;h=0b570cd7afa634357274d620a5b8980d22f025f9;hp=db684f4a5d32dc99ae873379eccc58eaea2df15a;hb=30f362b6a1257aa0a01a926de8b774fe90d4be39;hpb=5e168bbd5b545732e10513aaed59412e934efa5b 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);