|
From: | Noam Weissman |
Subject: | Re: [lwip-users] UDP bind error due to address and port reuse |
Date: | Sat, 3 Dec 2016 12:56:52 +0000 |
Hi,
If I understand you correctly you are trying to bind IP:port several times on the same machine without closing the previous bind ?
This is not an option. You can bind UDP and TCP separately with two different pcb's one for
TCP and one for UDP.
You cannot bind an IP:Port more then one time. This is the meaning of binding.
Its like a marriage between IP and a Port. Until you do not divorce you cannot marry again
BR, Noam.
From: lwip-users <lwip-users-bounces+address@hidden> on behalf of Surya Chaitanya <address@hidden>
Sent: Saturday, December 3, 2016 10:44 AM To: address@hidden Subject: [lwip-users] UDP bind error due to address and port reuse Hi,
I've been trying to use lwip to transfer UDP packets. In my situation, in the client application, I would like to create 5 UDP PCBs having the same IP address and port number. Inspite of setting the SO_REUSE flag to 1, and setting the SOF_REUSEADDR flag to 1 for all the PCBs, the UDP bind error still persists. Could somebody pls. help me out? Thank You. Disclaimer: ---------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. The sender does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. -- Open WebMail Project (http://openwebmail.org)
_______________________________________________ lwip-users mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/lwip-users
|
[Prev in Thread] | Current Thread | [Next in Thread] |