public void Close() { if (_vnet != null) { _vnet.RemoveVirtualNode (_vnet_node); _vnet_node = null; _vnet = null; _pubIP = IPAddress.None; } }
public void Bind(EndPoint bindEP) { _bindPubEP = new IPEndPoint (_pubIP, ((IPEndPoint)bindEP).Port); _vnet_node = _vnet.AddVirtualNode (this, _bindPubEP); }