internal MumbleUdpConnection(IPEndPoint host, MumbleError errorCallback, MumbleClient mc)
 {
     _host          = host;
     _errorCallback = errorCallback;
     _udpClient     = new UdpClient();
     _mc            = mc;
 }
示例#2
0
 internal MumbleTcpConnection(IPEndPoint host, string hostname, UpdateOcbServerNonce updateOcbServerNonce, MumbleError errorCallback,
                              MumbleClient mc)
 {
     _host                 = host;
     _hostname             = hostname;
     _mc                   = mc;
     _tcpClient            = new TcpClient();
     _updateOcbServerNonce = updateOcbServerNonce;
     _errorCallback        = errorCallback;
 }