- From: <chilaf@libero.it>
- Date: Tue, 26 Feb 2002 19:20:25 +0100
- To: www-lib@w3.org
- Message-Id: <GS5KA1$IZS_pgUpxKaY1j5D0qzFvaQDBoPgt4cJNeyeIDkpxm@libero.it>
Hi,
I'm in trouble using wwwhttp.lib 5.3.2.
I used an example file listen.c to develop a little Httpserver ,using
-----------------------------------------------
/* Register the "noop" application layer protocol for reading */
HTProtocol_add("noop", "tcp", ms->port, NO, NULL, HTServHTTP);
Instead of :
HTProtocol_add("noop", "tcp", ms->port, NO, NULL, HTLoadSocket);
-----------------------------------------------
but server does't feel client connect, instead client try to send.
Dev VC++ 6.0, Windows 32bit, including all libwww libraries
I made local test ie : http://ip.address:port
I test my client with a simple socket and all ok.
Whats wrong?
Follow attachment.
Thanks
Francesca
Attachments
- application/octet-stream attachment: listen.c
Received on Tuesday, 26 February 2002 13:20:48 UTC