开发者

Socket IPEndPoint in Windows Forms App

开发者 https://www.devze.com 2023-03-26 17:10 出处:网络
I have error. Code: I my code I cannot use IPEndPoint, but in Console开发者_StackOverflow中文版 App I can do it. How can I reapir it, and whats the preblem?You need to include the namespace System.N

I have error. Code:

Socket IPEndPoint in Windows Forms App

I my code I cannot use IPEndPoint, but in Console开发者_StackOverflow中文版 App I can do it. How can I reapir it, and whats the preblem?


You need to include the namespace System.Net - you have included System.Net.Sockets but the class IPEndPoint is not in this namespace.

0

精彩评论

暂无评论...
验证码 换一张
取 消