Table of Contents

Name

SetTCPlinger - turn off/on tcp linger

Description

SetTCPlinger turns the tcp linger function off/on.

This function is part of libtcp.

Syntax

int SetTCPlinger(
   int s,

   int state

   );

Arguments

s

the socket to change

state

0 - turn linger off.
1 - turn linger on.

Returns

ERRok is returned for success.
ERRconn is returned for problems.

See Also

libtcp(3tcp)

Manual page revision

$Id: SetTCPlinger.3,v 1.1 2002/04/07 19:50:52 kitchen Exp $


Table of Contents