In my program I created a Socket:
Socket s = new Socket(endPoint.Address.AddressFamily, SocketType.Stream,
Protocol.Tcp);
If I run my program like this:
sudo mono myProgram.exe
(I am on Ubuntu 6.10)
It works.
If I run my program without sudo, I have the following exception:
System.Net.Sockets.SocketException: Access denied
at System.Net.Sockets.Socket.Bind (System.Net.EndPoint local_end) [0x00000]
Is there another way than using sudo to run my program?
Thanks
____________________________________________________________________________________
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list