WebSocket server implementations for Delphi
21,460
Solution 1
Newer version of Indy implementation by André Mussche (the author of AsmProfiler) can be found here.
Solution 2
It is implemented in Delphi on Rails, it support old and new WS protocol. http://code.google.com/p/delphionrails/
Solution 3
Here is 2 more projects:
- bauglir-websocket - WebSocket server/client implementation in Pascal and C#;
- ics-websockets - WebSockets server for Delphi based on Internet Component Suite (ICS);
Solution 4
Try IPworks for Delphi, they have nice quite of interoperable components (paid, not free).
Author by
mjn
Software developer for Delphi and the Java platform, SCJP, SCJA
Updated on July 24, 2022Comments
-
mjn almost 2 years
As mentioned on the Aquarium, the WebSocket protocol, often described as one of the key elements of HTML5, has finally been blessed (RFC 6455).
Which WebSocket server implementations are available for Delphi?
- Delphi on Rails (Google Code, Mozilla Public License 1.1)
- Delphi Web Socket (Google Code, based on Indy 9, New BSD License)
- WebSockets Delphi Components (commercial, Indy 10, Delphi 7 to Rio)
-
mjn about 10 yearsThe WServer component docs does not make clear if it is possible to use the same port (80) both for normal HTTP and Websockets. Do you know if this is supported by their library?
-
Rick Wheeler about 10 yearsI currently use their SSL component for HTTP & HTTPS on 80/443 respectively. However I'm still evaluating their WS component so I cannot give you an answer just yet. Perhaps try their support email, I've always found them to respond quickly and professionally.
-
Brandon about 10 yearsYou can use the LocalPort property in the WSServer component. So assuming you don't already have something listening on port 80, you can set LocalPort to 80 and the component will listen on port 80. As Rick mentioned, feel free to email [email protected], we will get back to you within 24 hours (usually better).
-
Brandon about 10 yearsAlso the link Rick posted is no longer available you can still access the information from nsoftware.com/ipworks/ws/#plat-delphi.
-
Kapytanhook about 9 yearsWorked great for me +1
-
Dave Nottage almost 5 yearsFor anyone coming across this answer, you may notice that André has stopped work on his implementation. Chee Wee Chua is pretty active in his fork: github.com/chuacw/WebSockets