AN_CLOSESection: Antinat Programmer's Manual (3)
Index Return to Main Contents
The an_close(3) function is used close a connection that had previously been created with an_accept(3), an_connect_tohostname(3) or an_connect_tosockaddr(3). Closing the socket does not destroy the handle; it terminates the network connection but the handle remains open to make other connections with. To destroy the handle, use an_destroy(3).
- The connection supplied is not a valid connection.
- The proxy type or address type is not supported.
Malcolm Smith <email@example.com>
Time: 14:19:43 GMT, January 09, 2005