remember some thoughts about using WSAStartup to learn

how many sockets we get to use on win32.


svn:r3905
This commit is contained in:
Roger Dingledine
2005-03-28 01:11:02 +00:00
parent 4246f6f8bc
commit 80901fde69
+3
View File
@@ -1024,6 +1024,9 @@ int network_init(void)
log_fn(LOG_WARN,"Error initializing windows network layer: code was %d",r);
return -1;
}
/* WSAData.iMaxSockets might show the max sockets we're allowed to use.
* We might use it to complain if we're trying to be a server but have
* too few sockets available. */
#endif
return 0;
}