SuperSocket.ClientEngine icon indicating copy to clipboard operation
SuperSocket.ClientEngine copied to clipboard

A .NET library which can make your socket client development easier

Results 45 SuperSocket.ClientEngine issues
Sort by recently updated
recently updated
newest added

Framework 版本: v4.0.30319 说明: 由于未经处理的异常,进程终止。 异常信息: System.NullReferenceException 在 SuperSocket.ClientEngine.AsyncTcpSession.ProcessReceive(System.Net.Sockets.SocketAsyncEventArgs) 在 SuperSocket.ClientEngine.AsyncTcpSession.StartReceive() 在 System.Net.Sockets.SocketAsyncEventArgs.OnCompleted(System.Net.Sockets.SocketAsyncEventArgs) 在 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) 在 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) 在 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) 在 System.Net.Sockets.SocketAsyncEventArgs.FinishOperationSuccess(System.Net.Sockets.SocketError, Int32,...

经常出现这个错误,怎么办? “iisexpress.exe”(CLR v4.0.30319: /LM/W3SVC/3/ROOT-1-132239365425535659): 已加载“C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.resources\v4.0_4.0.0.0_zh-Hans_b03f5f7f11d50a3a\System.Web.resources.dll”。模块已生成,不包含符号。 “System.OutOfMemoryException”类型的未经处理的异常在 SuperSocket.ClientEngine.dll 中发生 中断时显示的任务是 > [任务 12543] SuperSocket.ClientEngine.dll!SuperSocket.ClientEngine.EasyClientBase.ConnectAsync(System.Net.EndPoint remoteEndPoint)

Application: dotnet.exe CoreCLR Version: 4.6.27617.5 Description: The process was terminated due to an unhandled exception. Exception Info: System.NullReferenceException: Object reference not set to an instance of an object. at SuperSocket.ClientEngine.AsyncTcpSession.ProcessReceive(SocketAsyncEventArgs...

也许有很多复杂的功能,但是大部分人都不需要那么复杂。为什么不封装几个简单的client?new出来就能用?

Some time i am getting this exception, below is the stack trace. System.Exception: You cannot set LocalEdnPoint after you start the connection. at SuperSocket.ClientEngine.TcpClientSession.set_LocalEndPoint(EndPoint value) at SuperSocket.ClientEngine.ClientSession.OnClosed() at SuperSocket.ClientEngine.AuthenticatedStreamTcpSession.OnDataRead(IAsyncResult result)...

@kerryjiang Some time i am getting this exception, below is the stack trace. System.Exception: You cannot set LocalEdnPoint after you start the connection. at SuperSocket.ClientEngine.TcpClientSession.set_LocalEndPoint(EndPoint value) at SuperSocket.ClientEngine.ClientSession.OnClosed() at SuperSocket.ClientEngine.AuthenticatedStreamTcpSession.OnDataRead(IAsyncResult...

ConnectAsync was not implemented properly and as result, callback (Complete event) was never triggered (on Ubuntu) when called from sync code and code never got to the handshake point. ConnectAsync...

Fix: HttpConnectProxy partial support for Titanium/Apache. - This fix supports the following pattern, receiving 2 chunks: `HTTP/1.1 200 Connection Established\r\n` and `content-length: 0\r\n\r\n` It is covered by test [TestHttp11ComplexMultiPacket](https://github.com/kerryjiang/SuperSocket.ClientEngine/compare/master...HiraokaHyperTools:fix-104#diff-08956902e8f0ef8cbbac9009d328257eR72) -...

Report from #92 - Receiving `\r\n\r\n` at end of second buffer, it leads to `System.Exception: protocol error: more data has been received` first: ```txt HTTP/1.1 200 Connection Established\r\n ``` second:...

When connect() is called on a TcpClientSession that is already connected or in process of being connected, an InvalidOperationException should be thrown, not a generic Exception. https://github.com/kerryjiang/SuperSocket.ClientEngine/blob/6f02bd65c1d9b14c829e04e0a5a42d70dd2f4317/Core/TcpClientSession.cs#L107 https://github.com/kerryjiang/SuperSocket.ClientEngine/blob/6f02bd65c1d9b14c829e04e0a5a42d70dd2f4317/Core/TcpClientSession.cs#L110 This mimics...