  TCP/IP programming, protocols, and ICMP? 
 The Question is:
 
Can you point me in the direction of any code which demonstrates how to send
 and receive ICMP messages using the QIO interface to TCP/IP. Other "Ask the
 wizard" questions/answers suggest this is possible but my efforts have been in
 vain!
 
My particular problem appears to be receiving replies to ICMP messages - can
 these just be read from the sending socket or is it necessary to create a
 RAW/IP listener. If the latter is required how is this created as ICMP does
 not appear to use a specific
 port number.
 
I have seen some mention of IP address 127.0.0.2 - does this feature anywhere
 in the solution to my problem?
 
 The Answer is :
 
  You will want to send packets with formats defined in the applicable
  RFC documents using the standard socket or $qio interface.
 
  As for the ICMP packet formats, please acquire and review RFC792,
  RFC950, RFC1108, RFC1122, RFC1256, RFC1393, RFC1812, and various of
  other available and related IP documents and texts.
 
  For details on using the socket and $qio interfaces, please see the
  available TCP/IP Services documentation.
 
  TCP/IP Services provides ICMP server capabilities, meaning you would
  have to disable and replace this server if you wish to perform ICMP
  server-side processing of ICMP.  The OpenVMS Wizard will assume you
  wish to send ICMP client requests, and process the replies from the
  ICMP server.
 
 Answer written or last revised on  29-AUG-2002 
