Closed johmarjac closed 6 years ago
This is more or less expected behavior, see: https://github.com/meebey/SmartIrc4net/blob/master/src/IrcConnection/IrcConnection.cs#L851
If you call Listen(false) it will only process one iteration of events, if there are any messages pending to be processed at the time of the call. If the receive queue is empty, it will simply return and do nothing.
Ah I thought this is kind of an overload for asynchronous behavior. Misunderstood that then.
Thanks for clearing that up.
You are welcome. The inline docs should describe the behavior really but currently it doesn't.
Hi,
when I use Listen() overload it works fine, but as soon as I set blocking to false, no events are being fired, is that a bug?
Thanks in advance