tisdall commented on PR #2740:
URL: https://github.com/apache/thrift/pull/2740#issuecomment-1682227227

   ok.. it's worse then I thought...  IPv4 addresses also fail:
   ```python
   from thrift.transport.TSocket import TServerSocket
   server_socket = TServerSocket(host='0.0.0.0')
   server_socket.listen()
   ```
   
   Output:
   ```
   Traceback (most recent call last):
     File "/Users/ttisdall/repos/bespin/mu.py", line 3, in <module>
       server_socket.listen()
     File 
"/Users/ttisdall/.local/share/virtualenvs/bespin-uIM29DXQ/lib/python3.9/site-packages/thrift/transport/TSocket.py",
 line 232, in listen
       self.handle.setsockopt(socket.IPPROTO_IPV6, socket.IPV6_V6ONLY, 0)
   OSError: [Errno 22] Invalid argument
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to