Closed teusbenschop closed 5 months ago
The code uses getpeername, and the resulting IP address is always 0.0.0.0.
getpeername
A possible solution is here:
https://stackoverflow.com/questions/17220006/in-what-conditions-getpeername-returns-ipport-0-0-0-00
The code uses
getpeername
, and the resulting IP address is always 0.0.0.0.A possible solution is here:
https://stackoverflow.com/questions/17220006/in-what-conditions-getpeername-returns-ipport-0-0-0-00