PyDocs

Nav

Networking and Interprocess Communication

socket.detach

socket

method of socket · Added in 3.2 (source) not WASI
  • socket.detach()
detach() -> file descriptor

Close the socket object without closing the underlying file descriptor.
The object cannot be used after this call, but the file descriptor
can be reused for other purposes.  The file descriptor is returned.
0 Examples
No examples for socket/socket.detach.
See Also
No see-alsos for socket/socket.detach
0 Notes
No notes for socket.detach