我绑定一个固定的IP 和端口号:
IPEndPoint iep = new IPEndPoint(_serverIP, _port);
_svrSock.Bind(iep);
我验证了该ip 和端口号, 但是执行到这里绑定时,报错:An attempt was made to access a socket in a way forbidden by its access permissions, 请大家帮忙。
...全文
307打赏收藏
c# socket通信问题
我绑定一个固定的IP 和端口号: IPEndPoint iep = new IPEndPoint(_serverIP, _port); _svrSock.Bind(iep); 我验证了该ip 和端口号, 但是执行到这里绑定时,报错:An attempt was made to access a socket in a way forbidden by its access permissions, 请大家帮忙。