X-Git-Url: http://git.tdb.fi/?p=libs%2Fnet.git;a=blobdiff_plain;f=source%2Fstreamlistensocket.h;h=a24e731721b2334274667bff674cfe1e4c354245;hp=8b96a98441a619ce90366320905bc9911996fca4;hb=28e7bf7a13656620452e19d017ea5eedf14a8bc5;hpb=a81c41acd873cda7f40bca634782230d9e57dc4f diff --git a/source/streamlistensocket.h b/source/streamlistensocket.h index 8b96a98..a24e731 100644 --- a/source/streamlistensocket.h +++ b/source/streamlistensocket.h @@ -10,13 +10,15 @@ class StreamSocket; class StreamListenSocket: public Socket { +private: + bool listening; + public: StreamListenSocket(Family, int = 0); + int connect(const SockAddr &); void listen(const SockAddr &, unsigned = 4); StreamSocket *accept(); -private: - bool listening; }; } // namespace Net