public CServer() { OLList = new OnLineList(); endPoint = new IPEndPoint(IPAddress.Parse("0.0.0.0"), 0); serverFunc = new ServerFunction(ref OLList, ref endPoint); }
public ServerFunction(ref OnLineList _list, ref IPEndPoint _endPoint) { OLList = _list; endPoint = _endPoint; }