Re: ask for sample ping source code without IP protocal stack

From: Jan Homuth (jandothomuth_at_altium.com)
Date: 03/06/04


Date: Sat, 6 Mar 2004 09:29:38 +0100

John,
you can find a lot of ideas and hands on information in Jeremy Bentham's
book:
"TCP/IP lean".
It helps a lot to understand the different protocols of TCP/IP.
ICMP is one of them.

grtnx
/jan

John Black <black@eed.com> schrieb in im Newsbeitrag:
40490C9E.74D5732A@eed.com...
> 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