1131,7 → 1131,7 |
|
tcpListener = new TcpListener(listenPort, resendHost, resendPort); |
tcpListener.Log += new TcpLogEventHandler(TcpConnectionLog); |
tcpListener.NewTcp += new TcpConnectionEventHandler(AddTcpConnetion); |
tcpListener.NewTcp += new TcpConnectionEventHandler(AddTcpConnection); |
tcpListener.StartListening(); |
} |
|
1289,7 → 1289,7 |
|
tcpListener = new TcpListener(0, null, 0); |
tcpListener.Log += new TcpLogEventHandler(TcpConnectionLog); |
tcpListener.NewTcp += new TcpConnectionEventHandler(AddTcpConnetion); |
tcpListener.NewTcp += new TcpConnectionEventHandler(AddTcpConnection); |
tcpListener.ReadBinLog(reader); // it will send us usual event |
|
reader.Close(); |
1320,7 → 1320,7 |
} |
} |
|
private void AddTcpConnetion(object sender, TcpConnectionEventArgs e) |
private void AddTcpConnection(object sender, TcpConnectionEventArgs e) |
{ |
lock(this) |
{ |
1436,7 → 1436,10 |
|
messageView.Nodes.Add(treeNode); |
treeNode.EnsureVisible(); |
if(messageView.Nodes.Count == 1) { |
messageView.SelectedNode = messageView.Nodes[0]; |
} |
} |
|
private void UpdateTcpNodeInternal(TcpConnection tcp) |
{ |
2043,6 → 2046,7 |
{ |
lock(http) |
{ |
owner.messagesBox.BeginUpdate(); |
owner.messagesBox.Clear(); |
|
// state |