Actual value of linger option passed to the transport

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
SP_SOL_SOCKET level options described in the docs

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Platform macros defined by the build system

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Fix build on Solaris OS

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
getopt exposed via sp_sock

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Bug in kqueue poller fixed (issue 7)

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
sp_ep_close has no return value

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
linger option queried by transport, not supplied by the core

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
SP_SOCKADDR_MAX documented

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Several references in documentation changed to links.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
sp_recv(3) man page fixed

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Merge branch 'master' of github.com:250bpm/nanomsg
References in sp_shutdown(3) man page changed to links

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Spelling fixes.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Remove duplicate check for CLOCK_MONOTONIC.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Use gettimeofday() on Mac OS X.

Mac OS X lacks CLOCK_MONOTONIC as well as clock_gettime and
pthread_condattr_setclock.

There is some concern that this might not be safe on other
platforms that also happen to lack CLOCK_MONOTONIC or that
there might be better alternatives, so we only do this on
Mac OS X for now.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Use CLOCK_REALTIME when CLOCK_MONOTONIC is not available

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>