AN_DESTROYSection: Antinat Programmer's Manual (3)
Index Return to Main Contents
The an_destroy(3) function is used fully clean up a connection handle when it has been finished with it. Any open connection should firstly be called with a call to an_close(3). Until an_destroy(3) is called, the closed handle can be reused for new connections; afterwards, all memory associated with the handle is discarded, and the handle will not be valid with any later call.
s is a socket previously created with an_new_connection(3).
- The connection supplied is not a valid connection.
Malcolm Smith <email@example.com>
Time: 14:19:44 GMT, January 09, 2005