Fixed remote IP information retrieval for UDP sockets.