man3tcp/GetTCPbufMaxSize

Table of Contents

Name

GetTCPbufMaxSize - get tcp maximum send/receive buffer sizes

Description

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.

Syntax

int GetTCPbufMaxSize(
   int *Rbuf,

   int *Sbuf

   );

Arguments

Rbuf

pointer to variable to hold the receive buffer size. If there is an error Rbuf is set to -1.

Sbuf

pointer to variable to hold the send buffer size. If there is an error Sbuf is set to -1.

Returns

ERRok if both Sbuf and Rbuf are ok.
ERRfail is returned if obtaining the value of Sbuf or Rbuf fails.

See Also

libtcp(3tcp)

Manual page revision

$Id: GetTCPbufMaxSize.3,v 1.0 2006/04/11 17:44:26 kitchen Exp $


Table of Contents