Adjust AsyncServerSocket to not use getsockname before it's connected
Summary: Winsock doesn't like it when you try to call getsockname on a socket that hasn't yet been connected or bound, because that socket doesn't have a name yet. This only occurred because we were trying to get the family of the socket. To solve this, I just passed the family in from the parent methods that already knew what the family was. Reviewed By: yfeldblum Differential Revision: D2871859 Pulled By: Orvid fb-gh-sync-id: 7674f565a968aa0258355fc977c185a416e4fbe4
Showing
Please register or sign in to comment