home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / netds / winsock / ping / readme.txt < prev   
Text File  |  1996-07-25  |  399b  |  13 lines

  1.  
  2. This sample illustrates the use of SOCK_RAW in Winsock 2.0 on Windows NT in 
  3. order to write an ICMP_ECHO utility (commonly seen in the 'ping' program  on 
  4. various systems).
  5.  
  6.  
  7. Usage:
  8.     ping <hostname/IP address> <packet size>
  9.  
  10.     Sends ICMP echo requests to host specified by the first argument. If a
  11.     packet size is specified, a buffer of that size is sent. The default size
  12.     is 32 bytes.
  13.