X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fstreamsocket.h;h=37c5b8e09ae762975fc2c98d1747ddf6a7969bf0;hb=28e7bf7a13656620452e19d017ea5eedf14a8bc5;hp=6fbb7d5a79472e96368001abb7a57bf8a664c318;hpb=2aab4004e71a2e5c773289e0be5e58aec6a8d339;p=libs%2Fnet.git diff --git a/source/streamsocket.h b/source/streamsocket.h index 6fbb7d5..37c5b8e 100644 --- a/source/streamsocket.h +++ b/source/streamsocket.h @@ -22,11 +22,11 @@ public: private: StreamSocket(SocketHandle, const SockAddr &); public: - StreamSocket(Family, int =0); + StreamSocket(Family, int = 0); + virtual int connect(const SockAddr &); bool is_connecting() const { return connecting; } int poll_connect(const Time::TimeDelta &); - int connect(const SockAddr &); private: void on_event(IO::PollEvent); };