diff options
author | Roger Dingledine <arma@torproject.org> | 2005-03-28 01:11:02 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-03-28 01:11:02 +0000 |
commit | 80901fde6989cc564163ce5877c0c4e5a2513e9d (patch) | |
tree | a4e1ad41120cee88753aa4f2b5a6a8e7e5bbf43f /src/common | |
parent | 4246f6f8bcb0d4c9f134b1fba011c4ca3e1f17ef (diff) | |
download | tor-80901fde6989cc564163ce5877c0c4e5a2513e9d.tar.gz tor-80901fde6989cc564163ce5877c0c4e5a2513e9d.zip |
remember some thoughts about using WSAStartup to learn
how many sockets we get to use on win32.
svn:r3905
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/compat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/compat.c b/src/common/compat.c index 66e55f9bea..fd08743c00 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -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; } |