ecodistrict / IDSSFramework

IDSSFramework
1 stars 1 forks source link

Connection lost after a while #6

Closed mkeus closed 8 years ago

mkeus commented 9 years ago

When my client is connected to the IMB and listening for a long time, i noticed no calls came in anymore, for example when i call Getmodules. There is no disconnect event fired but the connection is lost. Is it possible to make a kind of keep alive/ heartbeat call to the bus, some sort of ping (hey i'am still here)

see also: http://www.codeproject.com/Articles/37490/Detection-of-Half-Open-Dropped-TCP-IP-Socket-Conne

cornelissenja commented 9 years ago

heartbeat added to Delphi and C#

Joma564 commented 9 years ago

I have also noticed this when using the C# client.

cornelissenja commented 8 years ago

Implemented heartbeat in the C# IMB client, Martijn confirmed it's working ok..