Ejemplo n.º 1
0
 public void CreateSocket(double port, double heartbeat, double type)
 {
     ServiceContext.CreateSocket(new LazynetSocketConfig()
     {
         Heartbeat = Convert.ToInt32(heartbeat),
         Port      = Convert.ToInt32(port),
         Type      = (LazynetSocketType)type
     });
 }