Dear All,
I need to know the remote ip (remote_ip) of a speficif socket.
Now i call the get_socket (removing the static attribute) and then point to the remote_ip:
psock = get_socket(index);
psock->conn->pcb.tcp->remote_ip.addr;
The bad thing is that I need to modify the lwip library.
anyone knows how to get the remote_ip give the socket or index ?
thank all
regards
--
Mattia Settin
Software and System Engineer