man3tcp/GetTCPbufDefSize
Table of Contents
GetTCPbufDefSize - get tcp default send/receive buffer sizes
GetTCPbufDefSize
gets the default size of the socket send and receive buffers.
It does this
by using the /proc interface.
This function is part of libtcp.
int
GetTCPbufDefSize(
int *Rbuf,
int *Sbuf
);
pointer to variable to hold the receive buffer size. If there
is an error Rbuf is set to -1.
pointer to variable to hold the send
buffer size. If there is an error Sbuf is set to -1.
ERRok if both
Sbuf and Rbuf are ok.
ERRfail is returned if obtaining the value of Sbuf or Rbuf fails.
libtcp(3tcp)
$Id: GetTCPbufDefSize.3,v 1.0 2006/04/11 17:44:26 kitchen
Exp $
Table of Contents