Comments (4)
I also encountered this issue. Have you resolved it now? @anyway2019 @chronoxor
from netcoreserver.
I also encountered this issue. Have you resolved it now? @anyway2019 @chronoxor
not yet,i just add try catch block.
from netcoreserver.
We have a similar case
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.
at System.Net.Sockets.Socket.ThrowObjectDisposedException()
at System.Net.Sockets.Socket.Send(ReadOnlySpan`1 buffer, SocketFlags socketFlags, SocketError& errorCode)
at NetCoreServer.TcpSession.Send(ReadOnlySpan`1 buffer) in /src/websocket-server/NetCoreServer/TcpSession.cs:line 283
at NetCoreServer.WsSession.SendBinary(ReadOnlySpan`1 buffer) in /src/websocket-server/NetCoreServer/WsSession.cs:line 74
from netcoreserver.
@anyway2019 maybe you want contribute this action?)
from netcoreserver.
Related Issues (20)
- Is there anyway to get WsOpcode in OnWsReceived?
- TcpSession.SendAsync() returns true even if a message fails to send. BytesSent also increases when send fails.
- lot of stupid internal definition
- Very good idea! Good luck!
- Ask a question about file service、
- Examples HTTP/HTTPS Web Page > Input > Redirect HOT 4
- Websocket server permessage-deflate compression support?
- WssSession is multithread??
- Can I capture the error information when the OnDisconnecting/OnDisconnected events are triggered? Because I need to capture the error information and handle it accordingly!
- OnDisconnecting after received message from client
- Linux - OutOfMemory exception
- Performance different from Readme. "TrySend() within Task" is why rollbacked?
- WssSession is multithread??
- How to OnReceived with Async? HOT 1
- 用postman可以成功post,但是用HttpClientEx则提示连接失败 Exception: Connection failed!
- How do connect with socket.io?
- Add public virtual bool SendAsync(byte[] buffer, Guid guid) to TcpServer.cs? HOT 1
- Native AoT Compatiblity ?
- Accumulation in data buffer on received
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netcoreserver.