]> git.tdb.fi Git - libs/net.git/blobdiff - source/streamlistensocket.h
Add ClientSocket and ServerSocket abstractions
[libs/net.git] / source / streamlistensocket.h
diff --git a/source/streamlistensocket.h b/source/streamlistensocket.h
deleted file mode 100644 (file)
index a24e731..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef MSP_NET_STREAMLISTENSOCKET_H_
-#define MSP_NET_STREAMLISTENSOCKET_H_
-
-#include "socket.h"
-
-namespace Msp {
-namespace Net {
-
-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();
-};
-
-} // namespace Net
-} // namespace Msp
-
-#endif