Man Page: ns_connclose
Operating Environment: debian
Section: 3aolserv
Ns_ConnClose(3aolserver) AOLserver Library Procedures Ns_ConnClose(3aolserver) __________________________________________________________________________________________________________________________________________________NAMENs_ConnClose - Close an open connectionSYNOPSIS#include "ns.h" int Ns_ConnClose(conn)ARGUMENTSNs_Conn conn (in) Pointer to open connection. _________________________________________________________________DESCRIPTIONThis function calls the connection's communication driver to close the connection if it is not already closed. It always returns NS_OK. If the connection is marked for keep-alive, the underlying connection is not actually closed but instead returned to the driver thread to process additional requests, if any. Connections are automatically marked for keep-alive by setting the NS_CONN_KEEPALIVE flag if the client supports it by sending an appropriate connection-keepalive header. Keep alive can be disabled before a call to Ns_ConnClose with the Ns_ConnSetKeepAliveFlag routine with a zero value for the flag argument.SEE ALSONs_ConnSetKeepAliveFlag(3), Ns_ConnGetKeepAliveFlag(3), Ns_ConnFlush(3)KEYWORDSconnection, close, keep-alive AOLserver 4.0 Ns_ConnClose(3aolserver)
| Related Man Pages |
|---|
| ns_conndrivercontext(3aolserv) - debian |
| ns_conngetstatus(3aolserv) - debian |
| ns_connsend(3aolserv) - debian |
| ns_connsendfd(3aolserv) - debian |
| ns_connsendfdex(3aolserv) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| are you alive |
| good night! Gollum! |
| How to find the server ip is alive ? |
| Connection closed by foreign host |
| Connectivity problem in two servers. |