Connect() public method

public Connect ( string host, int port ) : void
host string
port int
return void
示例#1
0
 static public int Connect(IntPtr l)
 {
     try {
         Hugula.Net.LNet self = (Hugula.Net.LNet)checkSelf(l);
         System.String   a1;
         checkType(l, 2, out a1);
         System.Int32 a2;
         checkType(l, 3, out a2);
         self.Connect(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }