How should QUIT command be used in the script ? I can close with server.close() but it shows an error on the side of the client. How can I close connection gracefully ?
The connection is closed by the client, not the server. The server can only interrupt the connection, for example when the connection timeout is reached etc.
Hello,
How should QUIT command be used in the script ? I can close with server.close() but it shows an error on the side of the client. How can I close connection gracefully ?
Thank you