From: RĂ©mi Denis-Courmont Date: Thu, 4 Sep 2008 21:07:05 +0000 (+0300) Subject: Revert "Set buffer sizes" X-Git-Tag: 1.0.0-pre1~3553 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=3228d8b394b113da6bbb919389c6e77d76ff1132;p=vlc Revert "Set buffer sizes" This reverts commit 9a5e5236beae0b8c9ff08dcecc8922ac13d54799. Not intended for master. --- diff --git a/src/network/udp.c b/src/network/udp.c index 0b723c7f21..d0938b9a9c 100644 --- a/src/network/udp.c +++ b/src/network/udp.c @@ -145,10 +145,6 @@ static int net_ListenSingle (vlc_object_t *obj, const char *host, int port, } } - setsockopt (fd, SOL_SOCKET, SO_SNDBUF, &(int){ 0x80000 }, sizeof (int)); - setsockopt (fd, SOL_SOCKET, SO_RCVBUF, &(int){ 0x80000 }, sizeof (int)); - setsockopt (fd, SOL_SOCKET, SO_BROADCAST, &(int){ 1 }, sizeof (int)); - /* Bind the socket */ #if defined (WIN32) || defined (UNDER_CE) if (net_SockAddrIsMulticast (ptr->ai_addr, ptr->ai_addrlen)