Re: NKE socket communication and soreserve
Re: NKE socket communication and soreserve
- Subject: Re: NKE socket communication and soreserve
- From: Stéphane Sudre <email@hidden>
- Date: Wed, 9 Apr 2003 19:27:14 +0200
On mercredi, avr 9, 2003, at 18:57 Europe/Paris, Justin Walker wrote:
On Wednesday, Apr 9, 2003, at 07:28 US/Pacific, Stiphane Sudre wrote:
Does someone know what the purpose of soreserve is when it is used in
the TCPLogger NKE communication sample code?
For questions like these, the answer is UTSL! In
xnu/bsd/kern/uipc_socket2.c, there is this comment, near the code for
soreserve:[...]
and
On mercredi, avr 9, 2003, at 18:25 Europe/Paris, Joshua Graessley wrote:
soreserve is used to set the maximum amount of data the socket will
store in the socket buffer. Sockets have two buffers, a send buffer
and a receive buffer. There is a s[...]
Thanks for both answers, it definitely clarifies what values should be
used there. This also explains the sbappend call in TCPLogger.
I will file a bug report on the NKE doc for the typo and bad proto.
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.