Even more dead code

This commit is contained in:
simon.kagstrom 2009-03-29 17:31:48 +00:00
parent 70ad18ab1d
commit 2cc9a827c3

View File

@ -4,17 +4,8 @@
static int set_sock_opts(int sock)
{
struct timeval tv;
int d = 1;
memset(&tv, 0, sizeof(tv));
#if 0
tv.tv_sec = 2;
net_setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO,
&tv, sizeof(struct timeval));
net_setsockopt(sock, SOL_SOCKET, SO_SNDTIMEO,
&tv, sizeof(struct timeval));
#endif
return net_setsockopt(sock,SOL_SOCKET,SO_REUSEADDR, &d, sizeof(int));
}