lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] static get_socket


From: Mattia Settin
Subject: [lwip-users] static get_socket
Date: Mon, 5 Mar 2018 14:41:07 +0100


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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]