torchsnapshot
torchsnapshot copied to clipboard
Fix for getting socket name for IPv4 addresses
Summary:
sock.getsockname currently expects the address to always be IPV6. An IPv4 address returns two arguments instead of four. This PR fixes that.
Test plan:
Not sure how to test this. Would be happy to help if needed.
Closes #178