public IncommingTcpConnection(Channel channelSetting) { ChannelSettings = channelSetting; Connection = new TcpListener(IPAddress.Any, channelSetting.SourcePort); }
public OutgoingTcpConnector(Channel channelSettings) { Connection = new TcpClient(); ChannelSettings = channelSettings; }