backports.socketpair
This package provides Windows support for socket.socketpair()
for Python 2 (and 3) using the pure-python method implemented in Python 3.5+.
Usage:
import socket
import backports.socketpair
s1, s2 = socket.socketpair()
Python 2 support for socket.socketpair() on Windows
pip install backports.socketpair==3.5.0.4
This package provides Windows support for socket.socketpair()
for Python 2 (and 3) using the pure-python method implemented in Python 3.5+.
Usage:
import socket
import backports.socketpair
s1, s2 = socket.socketpair()