PDF (US Ltr)
- 4.5Mb
PDF (A4)
- 4.5Mb
This method closes the socket. It raises no exceptions.
Unlike
disconnect()
,
shutdown()
closes the client connection
without attempting to send a QUIT
command to
the server first. Thus, it will not block if the connection is
disrupted for some reason such as network failure.
shutdown()
was added in Connector/Python 2.0.1.