[nanomsg] Re: nn_bind issues

  • From: Dirkjan Ochtman <dirkjan@xxxxxxxxxx>
  • To: nanomsg <nanomsg@xxxxxxxxxxxxx>
  • Date: Sun, 17 Nov 2013 22:10:24 +0100

On Sun, Nov 17, 2013 at 7:50 PM, Martin Sustrik <sustrik@xxxxxxxxxx> wrote:
> Once wi-fi is on, one application connects, other one fails
> *asynchronously* with EADDRINUSE. What now?

Well, allowing the user to handle some error code is definitely better
than asserting. Seems to me that throwing EADDRINUSE would be a strict
improvement in this case, even if it's not perfect.

Cheers,

Dirkjan

Other related posts: