Hi Everybody,
I have a WebSockets server based on ICS. It is currently implemented as a
tcp-server (TWSocketServer without any modifications) with custom
descendant of TWSocketClient, which provides all necessary functionality
for WebSockets handshaking and data exchange.
We could use it in ICS
I think, this is only possible if the current THttpServer component
(actually, meaning with the THttpConnection component) is extended
and reworked. That is deriving new components from the existing ones
will require overriding of most important virtual methods and
copy-pasting
much of
Hello Stan,
As I understand, you are trying to - or you already have - implement
RFC6455, server side (http://tools.ietf.org/rfc/rfc6455.txt).
Is that correct ?
There are several ways to implement that using ICS. I don't know the best
one since I have not read RFC6455 in details. Candidates are
On 04-03-2012 15:24, François Piette wrote:
I don't really understand the real world use case for such
WebSockets in the context of a IC/Delphi/WebServer application
Now that web browsers are implementing it
(http://en.wikipedia.org/wiki/WebSocket#Browser_support), it would be
nice to have
Now that web browsers are implementing it
(http://en.wikipedia.org/wiki/WebSocket#Browser_support), it would
be nice to have support for it from ICS too.
OK, so this is just server push under another name.
To implement either the client or server using ICS, we need the opposing
client and
Hi Angus,
Now that web browsers are implementing it
(http://en.wikipedia.org/wiki/WebSocket#Browser_support), it would
be nice to have support for it from ICS too.
OK, so this is just server push under another name.
You are wrong, because this is not just another name of the server push,
Hi Francois,
As I understand, you are trying to - or you already have - implement
RFC6455, server side (http://tools.ietf.org/rfc/rfc6455.txt).
Is that correct ?
You are right, but we code supports both hixie and hybie protocols.
By the way, I don't really understand the real world use case