3

I'm trying to use PGM sockets to send data on Windows. I can listen and receive data fine from a PGM socket using a non-admin account, but when I try to create a socket to send data I get an exception at this step:

socket.Bind(new IPEndPoint(IPAddress.Any, 0));

The exception is:

An attempt was made to access a socket in a way forbidden by its access permissions

Note that if I run the same code under an admin account it works fine. Is there a way to create a sender PGM socket without running under an admin account?

Harald K
  • 26,314
  • 7
  • 65
  • 111
danp60
  • 391
  • 2
  • 8
  • I'm running into the same problem. I don't quite understand why admin is required for PGM. It's very frustrating. I have found no information on the internet that helps. – MrSlippers Nov 10 '11 at 16:28

1 Answers1

1

I never found a solution to this. Seems like admin privileges are required.

danp60
  • 391
  • 2
  • 8