I am trying to use PGM sockets to send data to Windows. I can listen and receive data from a PGM socket using an account other than admin, but when I try to create a socket to send data, I get an exception at this point:
socket.Bind (new IPEndPoint (IPAddress.Any, 0));
The exception is:
An attempt was made to access a socket that was denied by its access permissions
Please note that if I run the same code under an administrator account, it works fine. Is there a way to create a PGM mailbox without starting under an administrator account?
source
share