Comments (8)
I'm not sure what is the issue? anyway it's not only for the XHasIn, it's also for the recv message which should throw an again exception when their is no message available.
from netmq.
A first chance exception of type 'NetMQ.AgainException' occurred in NetMQ.dll
A first chance exception of type 'NetMQ.AgainException' occurred in NetMQ.dll
A first chance exception of type 'NetMQ.AgainException' occurred in NetMQ.dll
A first chance exception of type 'NetMQ.AgainException' occurred in NetMQ.dll
A first chance exception of type 'NetMQ.AgainException' occurred in NetMQ.dll
A first chance exception of type 'NetMQ.AgainException' occurred in NetMQ.dll
A first chance exception of type 'NetMQ.AgainException' occurred in NetMQ.dll
A first chance exception of type 'NetMQ.AgainException' occurred in NetMQ.dll
A first chance exception of type 'NetMQ.AgainException' occurred in NetMQ.dll
A first chance exception of type 'NetMQ.AgainException' occurred in NetMQ.dll
A first chance exception of type 'NetMQ.AgainException' occurred in NetMQ.dll
A first chance exception of type 'NetMQ.AgainException' occurred in NetMQ.dll
A first chance exception of type 'NetMQ.AgainException' occurred in NetMQ.dll
A first chance exception of type 'NetMQ.AgainException' occurred in NetMQ.dll
A first chance exception of type 'NetMQ.AgainException' occurred in NetMQ.dll
A first chance exception of type 'NetMQ.AgainException' occurred in NetMQ.dll
A first chance exception of type 'NetMQ.AgainException' occurred in NetMQ.dll
A first chance exception of type 'NetMQ.AgainException' occurred in NetMQ.dll
This is thrown over and over and over again.
It fills the debug log in visual studio and is also not great when the intention is just to signify that there's no message.
I can't tell without looking at the code whether it is an exception I need to worry about or not.
from netmq.
Can you provide code? I want to know if this happen in the Router.Recv or in the XHasIn...
from netmq.
also take a look at SocketBase.Recv, it's also using the again exception.
The issue is that in C# it's more common to use exceptions then error codes, the libzmq is written in C++ where it's more common to use error codes.
If the exception that flooding the debug log is being handled in the XHasIn maybe we can do something, but if it being handled in the socketbase.recv i'm not sure it's right do to something about it.
from netmq.
Don't know if this helps.
from netmq.
In my opinion (and without further analysing the code and only looking at the code @cwoode pasted) he is right: in this case it seems not to be exceptional behaviour and therefore it should not throw an exception which is catches at the next level.
cwoode [email protected] schrieb:
Don't know if this helps.
Reply to this email directly or view it on GitHub:
#57 (comment)
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
from netmq.
OK, I'm working on a fix.
from netmq.
Fixed with pull request #66
from netmq.
Related Issues (20)
- Communicating with Python issue HOT 2
- Please fix Security advisory for `Cryptography` 5.0
- Add support for XPUB/PUB option ZMQ_XPUB_NODROP to combat message loss HOT 4
- Antivirus dynamic shell code execution HOT 3
- RobiniaDocs API Explorer
- ZMQ_ROUTER_NOTIFY this?
- Critical CVE-2021-24112
- Feature. NetMQSocket TryReceive with CancellationToken
- IPC not working between .net7 and .net461 HOT 1
- NetMQ.NetMQException: Exception of type 'NetMQ.NetMQException' was thrown at NetMQ.Core.Ctx.CreateSocket(ZmqSocketType type)
- netmq is missing NuGet package README file
- Setting RouterMandatory on RouterSocket causes InvalidException
- "Closed" callback is called after the "Connected" callback when changing socket address.
- SubscriberSocket System.InvalidOperationException: Operation already in progress HOT 1
- Poller thorws exception when signal fails on Recv() when resource temporarily unavailable
- Fix Division by Zero Error in FairQueueing Class When m_active is Zero
- Leverage framework dependencies where possible HOT 4
- Mailbox.TryRead still throwing in debug mode
- Process crash due to an unhandled exception in Mechanism.Encode
- StreamSocket does not send empty connect/disconnect message when peers connect/disconnect HOT 2
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 netmq.