PySocks
PySocks copied to clipboard
Change error type to match native socket error
Change error from ValueError to socket.error to match original socket error behavior and increase compatiablity with other libraries such as pymongo.