Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
或者
TcpClient tClient = new TcpClient(socketIp,socketPort); 错误信息:不支持此接口调试通过继续加分,提提思路也好。
或者
TcpClient tClient = new TcpClient(socketIp,socketPort); 错误信息:不支持此接口调试通过继续加分,提提思路也好。
TcpClient tClient = new TcpClient(socketIp,socketPort); 这都有问题..那应该是网络的问题..
TcpClient tClient = new TcpClient(socketIp,socketPort); 这都有问题..那应该是网络的问题..猜想是服务器有多个网卡,并且网络属性里绑了IPV6协议,并且其中有一个网卡的网线没插。哈哈把那个没插网线的设备禁用掉,或是把所有IPV6协议去掉。就行了。
补充一下,用户角色也有关系,如果是受限用户,那么无法开启端口是正常的,请使用PowerUser以上角色使用程序。
--------------------------------------------------------------------------------The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested URL: /webgpsnew/Error.aspx
--------------------------检查服务器的.netframework版本看看是否和你本机开发的版本一致。
在IIS6.0上曾经做过Remoting,应该也支持Socket连接的。楼主的问题是在开发机上可以,放到服务器上不行。这中间没有任何改变吗?另外楼主提到升级一词?不知道是什么意思能否把问题产生的场景描述清楚一些?否则看客们都是稀里糊涂的,只能凭经验瞎猜