man3tcp/RecvRec

Table of Contents

Name

RecvRec - Receive a record

Description

RecvRec processes input from a socket and returns the information in a TRANS structure.

This function is part of libtcp.

Syntax

int RecvRec(
   int fi,

   TRANS *Tr,

   int quiet_flag

   );

Arguments

fi

socket file descriptor

Tr

pointer to TRANS record to place data in.

verbosity

This is supposed to be used to control the emission of error messages from the function. It was added at the same time as a SendRec() was modified, however at this time (08-14-2008) it does nothing.

Returns

number of bytes in received record on success. (This actually is a constant and is somewhat bogus - rlk)

ERRconn on most errors.

See Also

libtcp(3tcp)

Manual page revision

$Id: RecvRec.3,v 1.3 2008/08/22 18:29:21 kitchen Exp $


Table of Contents