man3tcp/SetTCPkeepalive
Table of Contents
SetTCPkeepalive - turn off/on tcp keep alive
SetTCPkeepalive
turns tcp keep alive off/on.
This function is part of libtcp.
int SetTCPkeepalive(
int s,
int state
);
the socket to change
0 - turn off keep alive.
1 - turn on keep alive.
ERRok is returned for success.
ERRconn is returned for problems.
libtcp(3tcp)
$Id:
SetTCPkeepalive.3,v 1.1 2002/04/07 19:50:52 kitchen Exp $
Table of Contents