Commit 3228d8b3 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Revert "Set buffer sizes"

This reverts commit 9a5e5236.
Not intended for master.
parent 218bc1f9
...@@ -145,10 +145,6 @@ static int net_ListenSingle (vlc_object_t *obj, const char *host, int port, ...@@ -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 */ /* Bind the socket */
#if defined (WIN32) || defined (UNDER_CE) #if defined (WIN32) || defined (UNDER_CE)
if (net_SockAddrIsMulticast (ptr->ai_addr, ptr->ai_addrlen) if (net_SockAddrIsMulticast (ptr->ai_addr, ptr->ai_addrlen)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment