Content-type: text/html Manpage of SOCKUKILLSTALECONNECTIONS

SOCKUKILLSTALECONNECTIONS

Section: CIM MRL (3)
Updated: Sept 1995
Index Return to Main Contents
 

NAME

SockUKillStaleConnections - close all client connections that are older than a given number of seconds  

SYNOPSIS

#include <SocketUtilities.h>

int SockUKillStaleConnections(SockUConnection **links, 
                              int stale_delay) 
 

DESCRIPTION

SockUKillStaleConnections() closes all clients connected to the server and listed in links that are older than stale_delay seconds. By the term "older", we mean that the client was last time-stamped more than stale_delay seconds before the time at which SockUKillStaleConnections() was called.  

RETURN VALUE

SockUKillStaleConnections() returns the number of client connections closed.  

FILES

/local/mrl/include/SocketUtilities.h
header file
/local/mrl/lib/libSocketUtilities.a
library object code
 

SEE ALSO

libSocketUtilities(3), SockUTimestampConnection(3)  

AUTHORS


Gilbert Soucy, Paul MacKenzie, Marc Bolduc
({soucy,mackenzie,bolduc}@cim.mcgill.ca)
Centre for Intelligent Machines
McGill University, Montreal, Quebec, Canada.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
FILES
SEE ALSO
AUTHORS

This document was created by man2html, using the manual pages.
Time: 16:41:20 GMT, February 05, 2002