Fez panda ii icmp

Hi,
i try to send a icmp (ping) packet from my PandaII board using raw mode but the application lock

Can you help me?

Many thanks

Not if you don’t post your code.

raw is not supported, only UDP and TCP are supported.

OK, thanks
in any way my (simple) code was:


            Socket pippo = new Socket(AddressFamily.InterNetwork, SocketType.Stream   , ProtocolType.Raw   );

            EndPoint pippo1 = new IPEndPoint(new IPAddress(new byte[] { 192, 168, 0, 63 }),-5 );
            byte[] mydata = { 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 30 };
            pippo.SendTo( mydata ,  pippo1);


Bye

Mauro

Yes could be added in future if we see enough interest.

Note that you can complicate with W5100 chipset directly to send raw packets.

OK, many thanks
exist sample for low level communication (or starting point ?)

thanks again

I meant to say communicate not complicate! Stupid iphone spell check :slight_smile:

There are many examples code for W5100 all over the web. But mainly you need to understand the chipset internals so start by reading its datasheet.

:smiley:
ok , thanks