torchsnapshot icon indicating copy to clipboard operation
torchsnapshot copied to clipboard

Fix for getting socket name for IPv4 addresses

Open haarisr opened this issue 1 year ago • 0 comments

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

haarisr avatar Jun 25 '24 19:06 haarisr