Content-type: text/html
Manpage of SOCKUTIMESTAMPCONNECTION
SOCKUTIMESTAMPCONNECTION
Section: CIM MRL (3)
Updated: Sept 1995
Index
Return to Main Contents
NAME
SockUTimestampConnection - update the time stamp of a client within a
server's client list
SYNOPSIS
#include <SocketUtilities.h>
void SockUTimestampConnection(SockUConnection *conn)
DESCRIPTION
SockUTimestampConnection()
updates the time stamp of a client, commonly done so the server will know
when that client last sent data. If data sent from clients is obtained
with
SockUGetNextCommand(),
then this time stamping is done automatically and the user need not call
this function. If the global variable
sockUHandleCmd = 0 (which means
SockUGetNextCommand()
does not actually read data, just tells you when it's ready to be read),
then time stamping will have to be done by calling this function when the
data is eventually read. The SockUConnection
conn
must be a pointer to the appropriate client in the server's list of
clients.
It is also possible for the time stamp to be used for a purpose other than
the time the client last sent data, but in this case the server would have
to use its own version of
SockUGetNextCommand()
that does not automatically time stamp.
FILES
- /local/mrl/include/SocketUtilities.h
-
header file
- /local/mrl/lib/libSocketUtilities.a
-
library object code
SEE ALSO
libSocketUtilities(3), SockUKillStaleConnections(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
-
- FILES
-
- SEE ALSO
-
- AUTHORS
-
This document was created by
man2html,
using the manual pages.
Time: 16:42:14 GMT, February 05, 2002