struct Private;
- Private *priv;
- SockAddr *local_addr;
+ Private *priv = nullptr;
+ SockAddr *local_addr = nullptr;
Socket(const Private &);
Socket(Family, int, int);
public:
~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();
+ void set_block(bool) override;
+ void set_inherit(bool) override;
+ const IO::Handle &get_handle(IO::Mode) override;
+ const IO::Handle &get_event_handle() override;
/** Associates the socket with a local address. There must be no existing
users of the address. */