EZStack (tm)  

EZ Stack™ Embeddable TCP/IP Protocol Suite

DP Consulting Inc.
 
back
next
 

Host udpClient.exe Utility Example

To test the EZ Stack UDP Server Template sample code:

  • In Windows, open a command window and change to the EZSTACK_INSTALL_DIR\bin directory.


  • Test network accessibility to the EZ Stack by typing ping ezIpAddr where ezIpAddr is the EZ Stack's IP address. If you don't receive a reply the EZ Stack is not accessible from this host or there is a network configuration problem.


  • Type the following command: udpClient ezIpAddr -p 25001 -c write -n 338 where ezIpAddr is the EZ Stack's IP address, the -c write option sets the write mode and the -n option sets the number of bytes. You will see the progress of the transfer similiar to:
  • This utility writes packets made up of 3 bytes of header followed by 128 bytes of data (except last packet). The EZ Stack UDP Server verifies the data and returns a 3 byte acknowledge packet.

 

Privacy Policy
eZ80Acclaim!™ is a trademark of ZiLOG, Inc
© 2003-2005 EZ Stack™ is a trademark of DP Consulting, Inc. All rights reserved.