netbuf_fromaddr() — Obtain the sender's IPv4 address for a netbuf
struct ip_addr *netbuf_fromaddr
(struct netbuf *buf
Returns the IPv4 address of the host the netbuf
received from. If the netbuf has not been received from the network, the
return value of this function is undefined. The function
can be used to obtain the port number of the remote host.
|2021-09-02||LWIP Documentation Notices|