lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Successful bind for wrong IP address!


From: Amena El Homsi
Subject: [lwip-users] Successful bind for wrong IP address!
Date: Wed, 20 May 2020 17:18:59 +0300

Hi,

We have one network interface assigned an IP address through DHCP.
We create a udp (or tcp) socket. When we try to bind the socket to wrong IP address (different than the one assigned to our network interface), udp_bind() returns ERR_OK.

I think we should report an error instead of ERR_OK.

If we use netcat to open a socket on linux using wrong IP address, binding fails as mentioned in the attached picture.

--

Amena El-Homsi
Computer & Communication Engineer
Dipl. Eng,  M.S.

Attachment: Screenshot from 2020-05-20 17-15-49.png
Description: PNG image


reply via email to

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