When calling TcpClient.ConnectAsync(), a ExtendedSocketException
is encountered with the message "An attempt was made to access a socket in a way forbidden by its access permissions". However, connecting to the same TCP endpoint with a regular .NET app, from the same machine, and same VS solution, succeeds (thus eliminating any concern over firewall or other network issues).
Asked
Active
Viewed 548 times
1

BCA
- 7,776
- 3
- 38
- 53