Wenchel
Wenchel
G2引用1.1.28正常显示Title和Description,引用最新的2.3.40不显示Title和Description。  
感谢大佬的封装,有一个疑问: ``` foreach (var item in tcpServer.GetAllConnections()) { item.Close(); tcpServer.RemoveConnection(item); } tcpServer.Close(); ``` item在Close()时不执行ConnectionClose 但是,当有新客户端建立连接时,通过connection.Close()是可以触发ConnectionClose事件的: ``` .OnNewConnection((server, connection) => { var clientAddress = connection.ClientAddress.Address.MapToIPv4().ToString(); var clientPort = connection.ClientAddress.Port; connection.ConnectionName =...
Given a signal such as: ``` DiscreteSignal signal = new SineBuilder() .SetParameter("frequency", 500.0/*Hz*/) .SetParameter("phase", Math.PI / 2) .OfLength(10000) .SampledAt(44100/*Hz*/) .Build(); ``` How to find the initial phase pi/2 by NWaves?...