public virtual Netronics Stop() { if (Properties != null) Properties.OnStopEvent(this, new EventArgs()); Socket.Dispose(); Socket = null; return this; }
public void Test1() { var netronics = new Netronics.Netronics(new Properties()); netronics.Start(); netronics.AddChannel(SocketChannel.CreateChannel(null)); netronics.Stop(); }