Closed ghost closed 7 years ago
It's fine. And it would be better to merge these 2 "except" clause together like this.
Can you help update again?
As requested, I've updated my PR with your idea. I've tested your Gist snippet on my Slackware machine and it works fine.
If you want me to update the README, feel free to ask me about it. :)
Add proper error handling for ipv4 socket creation when ipv6 is not available on the server.