man3tcp/SetSocketBlock

Table of Contents

Name

SetSocketBlock - set/clear blocking flag

Description

SetSocketBlock sets or clears the blocking flag for the file descriptor without disturbing the settings of other flags.

This function is part of libtcp.

Syntax

void SetSocketBlock(
   int fd,

   int state

   );

Arguments

fd

socket file descriptor.

state

State to set the blocking flag to.

0 = block
1 = non_block

See Also

libtcp(3tcp)

Manual page revision

$Id: SetSocketBlock.3,v 1.1 2009/08/24 13:59:48 kitchen Exp $


Table of Contents