tags:

views:

225

answers:

1

Hello.

I'd like to know how to use sockets in .NET3.5 to send ICMP request.

When I try to create my socket using this line :

Socket sock = new Socket(AddressFamily.InterNetwork, SocketType.Raw, ProtocolType.Icmp);

It doesn't works and send me an error (SocketException).

Does anyone know how to do this using sockets?

Thanks

A: 

You might look into this answer

Greco