private void button4_Click(object sender, EventArgs e) { int port = int.Parse(textBox2.Text); rs = new RTSPServer(port); rs.requested += new Action<Socket, string>(rs_requested); rs.start(); button4.Enabled = false; }
private void button4_Click(object sender, EventArgs e) { int port = int.Parse(textBox2.Text); rs = new RTSPServer(port); rs.requested += new Action <Socket, string>(rs_requested); rs.start(); button4.Enabled = false; }
public ClientHandler(RTSPServer server, Socket sock) { this._server = server; _sock = sock; t = new Thread(new ThreadStart(run)); }