UDP Client Event - OnConnect

The event is raised when a connection is successfully established.

OnException is raised if the connection establishment fails. 

udp.OnCreate += OnUdpCreate;

private void OnUdpCreate(bool reconnected)
{
  // A connection is successfully established. Now you may interactive wit the server cluster
}