]> git.tdb.fi Git - libs/net.git/blobdiff - source/streamsocket.h
Style update: reorder class members
[libs/net.git] / source / streamsocket.h
index acec0eab4dd069cf9bbab2e81790f24386649da2..37c5b8e09ae762975fc2c98d1747ddf6a7969bf0 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspnet
-Copyright © 2008  Mikkosoft Productions, Mikko Rasa
-Distributed under the LGPL
-*/
-
 #ifndef MSP_NET_STREAMSOCKET_H_
 #define MSP_NET_STREAMSOCKET_H_
 
@@ -29,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);
 };