|
From: | Richner Simon |
Subject: | Re: [lwip-users] Interface with PPPoE and DHCP? |
Date: | Wed, 20 Mar 2013 12:16:23 +0100 |
Dear Ruben,
I have thought about using broadcasts as well. The
problem is, that when I connect my laptop directly to the device, neighter one
has a valid IP (0.0.0.0). I'm not sure this would bother UDP broadcasts, but for
TCP this isn't possible for sure. So the only way I see is to use UDP broadcasts
to make sure it's a point to point connection and then set static IPs for
both sides....
Of course the question is, if you really need TCP on a
point to point connection at all.
Kind Regards
Simon
Von: address@hidden [mailto:address@hidden Im Auftrag von Ruben van der Kraan Gesendet: Mittwoch, 20. März 2013 10:56 An: Mailing list for lwIP users Betreff: Re: [lwip-users] Interface with PPPoE and DHCP? Hi Simon,
I have a similar problem but at the moment i am not working on this issue. The idea I have is to send a UDP broadcast message to all the users on the local network. The devices that recognize the UDP frame answer tot it and now the IP address is know to the application. An other way is to let the device send a udp broadcast message to every one on the network. the C# application receives this message and then knows the IP of all the compatible devices in the network. You can send the broadcast every minute or so. If you or anyone else have i better option I am interested. Kind Regards Ruben On 20-3-2013 9:07, Richner Simon wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |