~Socket();
virtual void set_block(bool);
+ virtual void set_inherit(bool);
+ const IO::Handle &get_handle(IO::Mode);
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 &);
+ bool is_bound() const { return local_addr; }
const SockAddr &get_local_address() const;
void set_timeout(const Time::TimeDelta &);