W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2002

Server Side

From: <chilaf@libero.it>
Date: Tue, 26 Feb 2002 19:20:25 +0100
Message-Id: <GS5KA1$IZS_pgUpxKaY1j5D0qzFvaQDBoPgt4cJNeyeIDkpxm@libero.it>
To: www-lib@w3.org
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.

Received on Tuesday, 26 February 2002 13:20:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:55 UTC