man3tcp/GetTCPbufDefSize

Table of Contents

Name

GetTCPbufDefSize - get tcp default send/receive buffer sizes

Description

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.

Syntax

int GetTCPbufDefSize(
   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: GetTCPbufDefSize.3,v 1.0 2006/04/11 17:44:26 kitchen Exp $


Table of Contents