DeveloppeurPascal / Socket-Messaging-Library

A client / server messaging library to use with TCP sockets in Delphi or C++Builder (one day in the future)
https://socketmessaging.developpeur-pascal.fr
GNU Affero General Public License v3.0
18 stars 3 forks source link

add a TSocketServerLostMessage notification when the client disconnects from a server #69

Closed DeveloppeurPascal closed 1 year ago

DeveloppeurPascal commented 1 year ago

Something like : TSocketServerLostMessage = class(TMessage) end;

TMessageManager.DefaultManager.SendMessage(Self, TSocketServerLostMessage.Create(Self));

DeveloppeurPascal commented 1 year ago

use onDisconnected or onLostConnection events on your TOlfSocketMessagingServer or TOlfSocketMessagingClient