> I need to log the IP address of the client when it connects to the > server.
Look at the Web Application Server sample, OverbyteIcsWebAppServerMain.pas, which is similar to the main web server. It shows how to write W3C format log file from the AfterAnswer event, including how much data was sent. If you need to check the IP before processing the request, to blacklist it or display the IP in a response, use the BeforeProcessRequest event. In both case use Client.GetPeerAddr to get the remote IP. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be