ask for sample ping source code without IP protocal stack

From: John Black (black_at_eed.com)
Date: 03/06/04


Date: Fri, 05 Mar 2004 16:26:22 -0700

Hi,
   I am testing an ethernet device on a development board, I programmed
a ping echo program based on the ethernet driver, not using any IP
protocol stack, but I have a hard time using the program to echo the
ping from my Windows 2000 PC. From some network traffic tool I can see
the ethernet frame coming to the PC and I believe the ethernet header
and ICMP header are correct, but Windows ping can not receive my echo.
   I suspect I miss some tricks, so I am wondering if there are ping
source code for Windows to reference. From web searching, I see someone
mentioned Windows SDK has a sample ICMP application, but I do not have
access of that and I think that application should be based on socket
programming, while I am looking for no protocol stack source file.
    Could you help here?

Thanks.



Relevant Pages

  • Re: ask for sample ping source code without IP protocal stack
    ... > a ping echo program based on the ethernet driver, ... > and ICMP header are correct, but Windows ping can not receive my echo. ...
    (comp.arch.embedded)
  • Re: ask for sample ping source code without IP protocal stack
    ... > a ping echo program based on the ethernet driver, ... > and ICMP header are correct, but Windows ping can not receive my echo. ... while I am looking for no protocol stack source file. ...
    (comp.arch.embedded)
  • wait network
    ... I work on windows ce and I want wait wifi connexion for start a application. ... ping -w 100 192.168.0.2 ... if errorlevel 1 goto waitegoal ... And echo %ERRORLEVEL% result %ERRORLEVEL%... ...
    (microsoft.public.windowsce.app.development)
  • DHCP, VBridge and Non-debug TCP/IP Communication
    ... I use KITL over the Ethernet, with VBridge and VMini to share the Ethernet ... The network utilities work, and the target ... responds to ping and http requests from other machines. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: [fw-wiz] ECHO Protocol
    ... Yes, I know that there are alternate "ping" programs that will allow you to use TCP, UDP or possibly anything that programmer could think of, but the traditional ping uses ICMP. ... Two of the ICMP types are referred to as echo and echo reply, which are the ICMP types used for ping. ... Ping command in Windows uses ICMP protocol, while others say that Ping uses ...
    (Firewall-Wizards)