How to read the RemoteAddress of client in WDK (windows driver) socket (wsk.h)?

I want to read the remote address of the client in a windows driver socket.

I imported Wsk.h, created my socket, accept the connection via WskAccept. I want to debug log the remote address ([out, optional] PSOCKADDR RemoteAddress) in a human-readable ipv4 address.

In winsock2 there is InetNtop and WSAAddressToStringA. What can I use in Wsk.h as an alternative to these?

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum