X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fnet%2Fsocket.h;fp=source%2Fnet%2Fsocket.h;h=c830930d6d54b6787357e73f92e48a17882d1168;hb=3840d5d193327059b84406ee6b0ba263f5ef2401;hp=f97588415b1e5df052b1138a1e706f596810fc0b;hpb=de95d7d024ebf9d18721579f52b98311c853ea67;p=libs%2Fnet.git diff --git a/source/net/socket.h b/source/net/socket.h index f975884..c830930 100644 --- a/source/net/socket.h +++ b/source/net/socket.h @@ -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