The returned SocketAddress is going to be NULL when the stream of socket addresses is finished
SocketAddress