From: Mikko Rasa Date: Wed, 14 Sep 2016 11:27:15 +0000 (+0300) Subject: Minor cleanup X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=6f6845971a21c2d7e04b87925f5e657f0f20ca0d;p=libs%2Fnet.git Minor cleanup --- diff --git a/source/net/resolve.cpp b/source/net/resolve.cpp index ce47b51..6de8838 100644 --- a/source/net/resolve.cpp +++ b/source/net/resolve.cpp @@ -234,16 +234,5 @@ void Resolver::WorkerThread::main() } } - /*sockaddr sa; - unsigned size = fill_sockaddr(sa); - char hst[128]; - char srv[128]; - int err = getnameinfo(&sa, size, hst, 128, srv, 128, 0); - if(err==0) - { - host = hst; - serv = srv; - }*/ - } // namespace Net } // namespace Msp diff --git a/source/net/socket.cpp b/source/net/socket.cpp index 1a5898b..031d077 100644 --- a/source/net/socket.cpp +++ b/source/net/socket.cpp @@ -111,7 +111,6 @@ const IO::Handle &Socket::get_event_handle() return priv->event; } - void Socket::bind(const SockAddr &addr) { SockAddr::SysAddr sa = addr.to_sys();