public virtual Netronics Start() { if (Properties == null) return this; InitSocket(); StartSocket(); Properties.OnStartEvent(this, new StartEventArgs(Socket)); return this; }
public void Test1() { var netronics = new Netronics.Netronics(new Properties()); netronics.Start(); netronics.AddChannel(SocketChannel.CreateChannel(null)); netronics.Stop(); }