|
From: | Bill Auerbach |
Subject: | [lwip-users] OT: Binding UDP in WinXP |
Date: | Wed, 15 Jul 2009 14:53:44 -0400 |
After half a day at this problem that I can’t solve, I figure someone here might say the answer is, “You can’t” and I’ll know I have a big problem. J
I can send UDP data from WinXP to lwIP using SentTo no problem. I can receive from lwIP if I use the port and IP_ADDRANY. I realized with 2 of my devices connected I have a problem so I tried to bind the UDP socket in WinXP to the IP address and port of the lwIP device (I know it from a prior UDP “here I am” broadcast). WinXP refuses to bind (or connect) to a specific IP address. I know I’m missing something and spent half the day not finding it. How do you bind a WinXP SOCK_DGRAM socket to a remote IP address and port?
Thank you,
Bill
[Prev in Thread] | Current Thread | [Next in Thread] |