Andrii
-
Content Count
6 -
Joined
-
Last visited
Posts posted by Andrii
-
-
4 minutes ago, Angus Robertson said:Websockets are designed for use in browsers, as a more efficient duplex mechanism than Ajax, for interactive content like spell check and auto completion as you type.
Don't see any purpose outside the browser environment where simple TCP client/server has been used for 30 years. ICS has several sockets demos illustrating various client/server concepts.
Angus
I'd add that sometimes UDP more reliable in some configuration eg. when a client is behind a router connecting to outer world. But the source of my question is heterogeneity of clients in my specific client/server configuration: Android App, Delphi 7 App, Web browser. It's kind of monitoring system having various UIs watching changes. Of course it's possible to implement 3 different approaches of data exchange but I'd like to use uniform. So my concern is still one of 3 options: HTTP polling, Web sockets or mix of UDP/HTTP. Obviously, I'd never use Delphi 7 as a backend but it's a requirement of the legacy system.
-
2 hours ago, Angus Robertson said:Ideally, websockets should be integrated into the ICS web server so they can be used on the same ports, the request that starts them up is HTTP, and I'll do that is anyone needs it.
Angus
It would be great.
-
6 hours ago, nouvakis said:from other post
As far as I got this example is just a websockets server implementation. I did not understand how to build a websockets client (not javascript but Delphi).
-
Could you clarify what is the websockets test environment?
2 hours ago, Angus Robertson said:I will do a quick evaluation of building that old code with the latest ICS over the next few days, but I won't do anything further unless someone else sets up a websockets test environment to test it all, that often takes as long as the coding, a server and client that the ICS components can be separately tested against.
Angus
-
Dear authors and community.
I'd like to use Websockets using ICS library. I know it's not a part of the library but probably someone could share his own implementation or may be has already found in the internet.
Thanks in advance.
Andrii.
Web sockets server and client
in ICS - Internet Component Suite
Posted
Thanks for suggestions, I'll definitely try the component that you mentioned.