The OnConnected event will be fired when a connection is completely established .
Syntax
OnConnected ()
Remarks
Similar to the OnConnecting event, you should not call method Dial within the OnConnected event handler.