public ChatLink(ServerLink sl, Listener ls, string chatname) { this.sl = sl; this.ls = ls; this.chatname = chatname; this.nickname = common.default_nickname; links = new List <link>(); }
public Listener(ServerLink sl) { this.sl = sl; working = false; listenSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); form = null; reg_chatlinks = new Dictionary <string, ChatLink>(); allDone = new ManualResetEvent(false); }