]> git.tdb.fi Git - libs/net.git/blobdiff - source/net/socket.h
Implement an asynchronous name resolver class
[libs/net.git] / source / net / socket.h
index f97588415b1e5df052b1138a1e706f596810fc0b..c830930d6d54b6787357e73f92e48a17882d1168 100644 (file)
@@ -9,11 +9,6 @@
 namespace Msp {
 namespace Net {
 
-#ifdef WIN32
-typedef int socklen_t;
-#endif
-
-
 class bad_socket_state: public std::logic_error
 {
 public:
@@ -45,9 +40,6 @@ public:
        const SockAddr &get_local_address() const;
 
        void set_timeout(const Time::TimeDelta &);
-protected:
-       int set_option(int, int, const void *, socklen_t);
-       int get_option(int, int, void *, socklen_t *) const;
 };
 
 } // namespace Net