Re: UDP packet send / receive



Ok, it is simply not possible. For the sake of simplicity, lets assume
both UDP nodes are on the same ethernet LAN, one node being your board
and the other a PC, since the sender will always require to know the IP
address of the receiver, the first step the sender takes is to resolve
the receiver IP address against an ethernet MAC on the same LAN using
the ARP protocol, after that it will direct the UDP/IP packet to your
board MAC.

Now if you don't care about IP and you would like to receive any UDP
(or TCP) data the sender has to send to your board you can create and
assign a "phantom" IP address to your board. For example on a windows
box do the following:

(1) Open a command prompt Window
(2) Create the phantom IP address by typing the following:

ARP -s 192.168.1.90 00-XX-XX-XX-XX-XX

where XXXXXXX is your board Ethernet MAC address.

This command will add a static entry to your ARP cache.

Just make sure the IP address you enter is on the same subnet as your
board and the PC and that the IP address is not being used by another
host.

Now any traffic that is directed to that IP from Windows will be
received by your board. Try something on IE for instance.

ghelbig@xxxxxxxxx wrote:
> UDP is an IP protocol. No IP, No UDP.

.



Relevant Pages

  • Re: XVGA over UDP
    ... Ethernet ports, each of which can have 6 servers daisy-chained on it. ... Even gigabit might ... The OP said UPD, not UDP. ... Remote display over IP is a solved problem if the remote ...
    (sci.electronics.design)
  • Re: XVGA over UDP
    ... Ethernet ports, each of which can have 6 servers daisy-chained on it. ... The OP said UPD, not UDP. ... Remote display over IP is a solved problem if the remote ...
    (sci.electronics.design)
  • Re: AT91RM9200 synchronous serial to ethernet
    ... The ethernet connection will be a direct, ... which are already prepared for transmission using UDP. ... Ulf at atmel dot com ...
    (comp.arch.embedded)
  • Re: XVGA over UDP
    ... I have a very nice Ethernet-based daisychained KVM system for my Opteron ... Ethernet ports, each of which can have 6 servers daisy-chained on it. ... Even gigabit might ... The OP said UPD, not UDP. ...
    (sci.electronics.design)