Update nn.h

copy paste issue from socket.h

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Emeric Chevalier added to AUTHORS file.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Make sense since EAFNOSUPPORT label is : Address family not supported by protocol : raw socket being part of a protocol and not another protocol therefore not EINVAL
Premature deallocation of message in SURVEYOR fixed

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Fix warning for adding integer to string.

Clang warns on this construct and suggests using array indexing
to silence the warning.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
On Windows errno codes are translated to err strings by nanomsg rather than strerror

It seems that strerror() on Windows isn't able to convert
all error code (EISCONN in particular).

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
All error codes are reported via nn_symbol() unconditionally

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Handle EISCONN error produced by nn_excl decently

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
tests for rejected connections added

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Merge remote-tracking branch 'upstream/master'

Update to upstream master.