Re: NKE socket communication and soreserve
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 | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Stéphane Sudre