예제 #1
0
 // Use this for initialization
 void Start()
 {
     if (portNo == 0)
     {
         portNo = 32003;
     }
     if (maxObjects == 0)
     {
         maxObjects = 1024;
     }
     waiting = false;
     server  = new TcpListener(IPAddress.Any, portNo);
     server.Start();
     numObjects = 0;
     o          = new objectList[maxObjects];
     jitCustom  = (JitCustomEvents)GetComponent("JitCustomEvents");
 }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     if (portNo == 0) portNo = 32003;
     if (maxObjects == 0) maxObjects = 1024;
     waiting = false;
     server = new TcpListener(IPAddress.Any, portNo);
     server.Start();
     numObjects = 0;
     o = new objectList[maxObjects];
     jitCustom = (JitCustomEvents)GetComponent("JitCustomEvents");
 }