netbuf_fromport() — Obtain the sender's port number for a netbuf
(struct netbuf *buf
Returns the port number 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 IP address of the remote host.
|2023-08-15||LWIP Documentation Notices|