On Fri, 2004-06-18 at 17:30, Eric Gonia wrote:
> Would someone please explain to me why I have to be root in order to
> create a raw socket:
> 
> Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Raw,
> ProtocolType.Icmp);

Because the linux kernel enforces that.

> And is there a way to get around the root privilege requirement for raw
> sockets?

You've got the kernel sources...

- Dick


_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to