PyDocs

Nav

Networking and Interprocess Communication

close

socket

function · Added in 3.7not WASI
  • close(fd)
close(integer) -> None

Close an integer socket file descriptor.  This is like os.close(), but for
sockets; on some platforms os.close() won't work for socket file descriptors.
0 Examples
No examples for socket/close.
See Also
No see-alsos for socket/close
0 Notes
No notes for close