Logo Search packages:      
Sourcecode: kmess version File versions  Download package

MsnSocketTcp::~MsnSocketTcp (  )  [virtual]

The destructor.

Closes the connection, and deletes the sockets.

Definition at line 111 of file msnsockettcp.cpp.

References disconnectFromServer(), and isConnected().

{
  // Disconnect from the server on exit
  if( isConnected() )
  {
    disconnectFromServer();
  }

  // Delete the socket
  delete socket_;

#ifdef KMESSDEBUG_CONNECTION_SOCKET_TCP
  kDebug() << "DESTROYED";
#endif
}


Generated by  Doxygen 1.6.0   Back to index