Claytonious / Neutrino

A low-latency, high performance network library for real-time apps and games.
MIT License
50 stars 10 forks source link

Exception with async receive #2

Open aienabled opened 6 years ago

aienabled commented 6 years ago

Hello!

I've built Neutrino from the latest source code and tried it with BenchmarkNet but I've encountered an exception from Neutrino: NTO Error: Error handling message: System.InvalidOperationException: EndReceiveFrom can only be called once for each asynchronous operation. at System.Net.Sockets.Socket.EndReceiveFrom(IAsyncResult asyncResult, EndPoint& endPoint) at Neutrino.Core.Node.HandleMessageReceived(IAsyncResult result) (originally reported here https://github.com/nxrighthere/BenchmarkNet/issues/4 but it's very likely to be related to Neutrino itself)

Regards!

Sehyo commented 4 years ago

Thanks for this thread, had this issue aswell.