CoeurdeLeon 8 Posted September 10 I believe the Internet Component Suite is amazing and a godsend for Delphi. Thank you for everything you do to support this software. I wish to use WebSockets with ICS Delphi components. I wish to use this in a very large and important system (cannot name it). I am challenged to prototype this because the Overbyte demo OverbyteIcsSslMultiWebServ.dpr has so many features it is impossible to extract a simple webSocket server. I wish to demonstrate ssl/tls and non ssl/tls connections. I am not interested in echo servers/clients. I want servers/clients that can handshake and exchange messages with each either other. How can I demo this. The client side I have been able and is fairly straight forward. The server side is too complex. Please provide a simple Websocket Server application that supports ssl/tls and non ssl/tls connections. Thank you Richard Maley Share this post Link to post
Angus Robertson 577 Posted September 11 (edited) The OverbyteIcsSslMultiWebServ sample serves both web and websocket pages, since all websocket requests start with an HTTP request to port 80/443. But you can remove all the code relating to creating web pages from the sample, the OverbyteIcsSslMultiWebxx units, etc, leaving just the default page and websocket handlers ClientWSxx and WSxx which do the websocket events. I will look at a new simple web server sample, similar to the client snippet samples, but unlikely to be ready for the next release. Angus Edited September 11 by Angus Robertson 1 Share this post Link to post
Angus Robertson 577 Posted September 23 There is a new ICS sample OverbyteIcsBasicWebServer.dpr in SVN, will be zipped overnight, which is a simplified version of OverbyteIcsSslMultiWebServ ignoring configuration INI files, security features, session data, most demo pages and most logging, and settings for localhost set in code, search for IcsHosts to change IP addresses, etc. But this sample will be a much easier starting point for those developing web or Websocket servers with ICS. I'm going to copy most of the code into another new ICS sample that needs a Websocket server. Angus Share this post Link to post
CoeurdeLeon 8 Posted September 24 Angus I cannot find OverbyteIcsBasicWebServer.dpr. I downloaded the code from https://svn.overbyte.be/svn/ics/trunk/. Is this the correct place? Richard Maley Share this post Link to post
Angus Robertson 577 Posted September 24 (edited) SVN for ICS V9 is https://svn.overbyte.be/svn/icsv9/ Do we have the old URL for V8 somewhere? Angus Edited September 24 by Angus Robertson Share this post Link to post
CoeurdeLeon 8 Posted September 24 Angus Thank you. I got it. I was pointing to the wrong repo. Richard Maley Share this post Link to post