PyDocs

Nav

Networking and Interprocess Communication

socket.share

socket

method of socket · Added in 3.3Windows
  • socket.share(process_id)
Duplicate a socket and prepare it for sharing with a target process. The target process must be provided with process_id. The resulting bytes object can then be passed to the target process using some form of interprocess communication and the socket can be recreated there using fromshare(). Once this method has been called, it is safe to close the socket since the operating system has already duplicated it for the target process.
0 Examples
No examples for socket/socket.share.
See Also
No see-alsos for socket/socket.share
0 Notes
No notes for socket.share