man3tcp/GetTCPbufMaxSize
Table of Contents
GetTCPbufMaxSize - get tcp maximum send/receive buffer sizes
GetTCPbufMaxSize
gets the maximum size that the socket send and receive buffer can be set
to.
It does this by using the /proc interface.
This function is part of libtcp.
int GetTCPbufMaxSize(
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: GetTCPbufMaxSize.3,v 1.0 2006/04/11 17:44:26 kitchen
Exp $
Table of Contents