예제 #1
0
        public CServer(int _BufferSize, string _IP, int _Port, int _QueenLength)
        {
            BufferSize  = _BufferSize;
            IP          = _IP;
            Port        = _Port;
            QueenLength = _QueenLength;

            OLList     = new OnLineList();
            endPoint   = new IPEndPoint(IPAddress.Parse("0.0.0.0"), 0);
            serverFunc = new ServerFunction(ref OLList, ref endPoint);
        }
예제 #2
0
 public CServer()
 {
     OLList     = new OnLineList();
     endPoint   = new IPEndPoint(IPAddress.Parse("0.0.0.0"), 0);
     serverFunc = new ServerFunction(ref OLList, ref endPoint);
 }