Table of Contents

Name

SetTCPkeepalive - turn off/on tcp keep alive

Description

SetTCPkeepalive turns tcp keep alive off/on.

This function is part of libtcp.

Syntax

int SetTCPkeepalive(
   int s,

   int state

   );

Arguments

s

the socket to change

state

0 - turn off keep alive.
1 - turn on keep alive.

Returns

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

See Also

libtcp(3tcp)

Manual page revision

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


Table of Contents