Adjust the AsyncSocket TestServer to work with Winsock
Summary: Winsock doesn't let you listen to a socket if it hasn't been bound to anything, so bind it to the port first. TestServer was also never closing the file descriptor, causing the socket to leak. Reviewed By: yfeldblum Differential Revision: D3698467 fbshipit-source-id: cca415143009fbee99ebf94d7f46aedc9c59191d
Showing
Please register or sign in to comment