next up previous contents
Next: Cleaning up with icq_Done Up: An ICQ session with Previous: Manage the connection using   Contents

Closing the connection

After we have had our fun with the ICQ connection, we want to terminate the connection. To do this we need to logout from the network and disconnect from the server. The first is done using icq_Logout (line 221) and the second is done using icq_Disconnect (line 230).

We simply do:


And we're out.

We still need to clean our ICQLINK in order to free allocated resources.

Zvika Brakerski 2001-05-08