UDP Sample

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

UDP Sample

503 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Thu Mar 22 14:45:22 MST 2012
This is a working sample. It's transmitting a message to SOURCE_IP / SOURCE_PORT (string and number) and displaying it via semihosting.
It's expecting a message from TARGET_IP / TARGET_PORT (string and number) with same format like transmitted.

I've tested this with Windows (Win7/32) without problems (Debug and Release mode).

ARP and ICMP are working, so pinging this SOURCE_IP (or Scanner like http://www.softperfect.com/products/networkscanner/) are working.

To use it in your network you just have to use a valid SOURCE_IP/TARGET_IP.

Note: I've changed a few things in included udpip library from Aart (see notes in udpip.c).
0 Kudos
Reply
0 Replies