example:
int i=4000;
setsockopt(fd,SOL_SOCKET,SO_RCVBUF,&i,sizeof(i));
now i want get the value
getsockopt(fd,SOL_SOCKET,SO_RCVBUF......
and i is 8000
why is the value *2 ??
in socket.c
line 235 sk->rcvbuf=max(val*2,256);
i use kernel 2.2.13
mfg
frank peters
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/