Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions util.c
Original file line number Diff line number Diff line change
Expand Up @@ -827,11 +827,6 @@ int OpenSocketSafe( const char *_psz_arg, int i_ttl, uint16_t i_bind_port,

if ( !*pb_tcp )
{
/* Increase the receive buffer size to 1/2MB (8Mb/s during 1/2s) to
* avoid packet loss caused by scheduling problems */
i = 0x80000;
setsockopt( i_fd, SOL_SOCKET, SO_RCVBUF, (void *) &i, sizeof( i ) );

/* Join the multicast group if the socket is a multicast address */
if ( bind_addr.ss.ss_family == AF_INET
&& IN_MULTICAST( ntohl(bind_addr.sin.sin_addr.s_addr)) )
Expand Down