If the socket is non-blocking, this function may return before the
connection is fully established. The caller must then use either the
poll_connect function or an EventDispatcher to finish the process. */
- virtual bool connect(const SockAddr &);
+ bool connect(const SockAddr &) override;
- virtual bool poll_connect(const Time::TimeDelta &);
+ bool poll_connect(const Time::TimeDelta &) override;
private:
- void on_event(IO::PollEvent);
+ void on_event(IO::PollEvent) override;
};
} // namespace Net