I have a server and client as Delphi VCL.
This all works very well.
Now I have a web application. I built myself some tools within TMS Web Core.
I'm creating a websocket client here.
I get a session ID about the event.
All events of the basis websocket work, but not the events of the protocol (default sgc).
I have included this
and my javascript with
generated.
Then I set all the events.
All of this is done correctly in the debugger.
But I don't get any events from the sgcProtocol.
Then I adapted the example page from the websockets folder "esegece.com.html" so that it runs with my server. Here too, the open/connected/... events come, but not the protocol events.
Am I making a mistake?
Do I have a problem with my PC?
Is there any further help for javascript?
Thank you for help
Thomas
This all works very well.
Now I have a web application. I built myself some tools within TMS Web Core.
I'm creating a websocket client here.
I get a session ID about the event.
All events of the basis websocket work, but not the events of the protocol (default sgc).
I have included this
<script src="sgcWebSockets.js"></script>
<script src="esegece.com.js"></script>
and my javascript with
new sgcws(address)
generated.
Then I set all the events.
All of this is done correctly in the debugger.
But I don't get any events from the sgcProtocol.
Then I adapted the example page from the websockets folder "esegece.com.html" so that it runs with my server. Here too, the open/connected/... events come, but not the protocol events.
Am I making a mistake?
Do I have a problem with my PC?
Is there any further help for javascript?
Thank you for help
Thomas