PyDocs

Nav

Networking and Interprocess Communication

socket.close

socket

method of socket (source) not WASI
  • socket.close()
close()

Close the socket.  It cannot be used after this call.
Changed in 3.6
  • 3.6: OSError is now raised if an error occurs when the underlying close() call is made.
0 Examples
No examples for socket/socket.close.
See Also
No see-alsos for socket/socket.close
0 Notes
No notes for socket.close