diff options
author | goodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2000-09-21 14:00:38 +0000 |
---|---|---|
committer | goodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2000-09-21 14:00:38 +0000 |
commit | d459e03bae0f4757a19986c5559641f1c51831a1 (patch) | |
tree | 8704a3ad6434d3a91efd4c08756a203bd6029aab /src/httpd.h | |
parent | 6da8c26dc91515af7f192bb44e868f202dcb4a3a (diff) |
Added hunting for a port if the specified port is in use - this can be
switched off by setting the parameter httpd::hunt to false.
Added printing of URL to stdout.
Fixed up error stuff in Sockets.c so it compiles under NT.
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@75 1faa4e14-9dd3-4be0-9f0e-ffe519881164
Diffstat (limited to 'src/httpd.h')
-rw-r--r-- | src/httpd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/httpd.h b/src/httpd.h index 7f76643..6b8ad23 100644 --- a/src/httpd.h +++ b/src/httpd.h @@ -30,7 +30,7 @@ extern "C" int HTTP_ReadFromClient (cGH *cctkGH, void *connection); -int HTTP_SetupServer(int port, int queue_size); +int HTTP_SetupServer(int port, int queue_size, int hunt); int HTTP_ShutdownServer(void); int HTTP_Poll(cGH *cctkGH, long sec, long usec); |