valotrading/silvertip — pull request #41 by jvirtanen (2013-02-15 11:21:51+00:00)
Title: Handle NULL from 'ServerSocketChannel#accept'

If a `ServerSocketChannel` is set into non-blocking mode, its `accept` method returns `NULL` if there are no pending connections. As noted in `SelectionKey` documentation, having an operation in the ready set of a selection key does not guarantee that the operation could be performed in non-blocking manner.