PyDocs

Nav

Networking and Interprocess Communication

fromfd

socket

function (source) not WASI
  • fromfd(fd, family, type, proto=0)
fromfd(fd, family, type[, proto]) -> socket object

Create a socket object from a duplicate of the given file
descriptor.  The remaining arguments are the same as for socket().
Changed in 3.4
  • 3.4: The returned socket is now non-inheritable.
0 Examples
No examples for socket/fromfd.
See Also
No see-alsos for socket/fromfd
0 Notes
No notes for fromfd