X-Git-Url: http://git.tdb.fi/?p=libs%2Fnet.git;a=blobdiff_plain;f=source%2Fsocket.h;h=f97588415b1e5df052b1138a1e706f596810fc0b;hp=38d65da40da560ba3443d81d561cd38df71cea24;hb=6489612c788dd57721fc181ff26a981b35668d1e;hpb=e6f09239fae7ff675e1068365a06803dcc8f8d1f diff --git a/source/socket.h b/source/socket.h index 38d65da..f975884 100644 --- a/source/socket.h +++ b/source/socket.h @@ -35,15 +35,16 @@ protected: public: ~Socket(); - void set_block(bool); - const IO::Handle &get_event_handle(); + virtual void set_block(bool); + virtual const IO::Handle &get_event_handle(); /** Associates the socket with a local address. There must be no existing users of the address. */ void bind(const SockAddr &); - void set_timeout(const Time::TimeDelta &); const SockAddr &get_local_address() const; + + void set_timeout(const Time::TimeDelta &); protected: int set_option(int, int, const void *, socklen_t); int get_option(int, int, void *, socklen_t *) const;