Messages in this thread | | | From | Frank Peters <> | Subject | sock.c! sk->rcvbuf=max(val*2,256); | Date | Wed, 15 Dec 1999 11:30:11 +0100 |
| |
why is the value which is given throu "setsockopt" multiplikated with 2
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/
| |