B4J Question Websocket Stop Sending to Client

RichardHirst

Member
Licensed User
Longtime User
Hello

I have a B4J server with a websocket running. All working fine, but after 1 Minute 40 Second the client stops receiving data.

I have tested with VB.NET websockets and B4J the WebSocketPush Example... both stop after the same time.

So is there a setting in the Server side i need to change..?

Thanks

Richard
 

RichardHirst

Member
Licensed User
Longtime User
Hello Erel

I have based my code on the example, however I do not use a Timer to send the Data to the Socket. Data comes in via MQTT, then gets sent to the multiple web socket clients.

Also do I need to 'ping' the server as per one of the examples, at a regular interval..??

Thanks

Richard
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…