fix ws curl error message + some Windows warnings

This commit is contained in:
Benjamin Sergeant
2020-12-12 11:00:55 -08:00
parent 2fac4bd9ef
commit 93ad709dfd
6 changed files with 12 additions and 5 deletions

View File

@ -31,7 +31,7 @@ namespace ix
int getAnyFreePort()
{
int sockfd;
socket_t sockfd;
if ((sockfd = socket(AF_INET, SOCK_STREAM, 0)) < 0)
{
return getAnyFreePortRandom();