event Disconnected (ErrorCode, ErrorText)
Fires when BEEP session is terminated from remote peer.

  TypeDescription 
   ErrorCode as Long Long integer as error that occurred, if any. 
   ErrorText as String String expression that holds text description of error that occurred. 
 

Disconnected event is fired after wodBeep has terminated the connection with remote peer. At this point you are free to Start new wodBeep session. Until you do so, you cannot send or receive any messages, even if transport service has still left open.