0
A
回答
5
您需要包含命名空間System.Net - 您已包含System.Net.Sockets,但類IPEndPoint不在此命名空間中。
相關問題
- 1. 確定Windows窗體應用程序中的插入模式
- 2. Windows窗體應用程序
- 3. Windows窗體應用程序的可插入UI組件?
- 4. 在Windows窗體應用程序中加入工作線程
- 5. Visual Studio Windows窗體應用程序 - 緩存窗體輸入
- 6. 在C++中打開新窗體Windows窗體應用程序
- 7. Windows窗體應用程序中的Windows.Web.Http?
- 8. Windows窗體應用程序中的WCF
- 9. Windows窗體應用程序中的SQLException
- 10. 在Windows窗體應用程序
- 11. 使用C#Windows窗體應用程序
- 12. Windows窗體應用程序使用HTML
- 13. 在Windows窗體中插入計時器
- 14. 在Windows窗體應用程序中使用OpenGL在Visual C++中
- 15. 在Windows窗體應用程序中使用boost序列化
- 16. 如何嵌入壁虎在Windows窗體應用程序C#/。NET
- 17. VS2010,Windows窗體應用程序
- 18. Windows窗體應用程序性能
- 19. Windows多窗體應用程序設計
- 20. 不兼容Windows窗體應用程序
- 21. 部署VB.NET Windows窗體應用程序
- 22. 便攜式Windows窗體應用程序
- 23. Windows窗體應用程序錯誤
- 24. Arduino_Visual_Studio-Windows窗體應用程序
- 25. WPF或Windows窗體應用程序
- 26. 帶Web應用程序的Windows窗體
- 27. Windows窗體應用程序異常
- 28. Windows窗體應用程序跟蹤
- 29. 打開Windows窗體應用程序
- 30. Windows窗體應用程序的定位
聽起來像缺少參考。如果將鼠標懸停在屏幕截圖中IPEndPoint下方顯示的小藍條上,會顯示什麼內容? btw:在文本編輯器中,Stackoverflow具有很好的自動格式化代碼功能。用它。 – Emiswelt
它告訴我,這是缺少參考,但我怎麼可以在那裏添加她?它在控制檯中工作。 – FrewCen
顯示下拉列表中有更多選項。 Visual Studio爲缺少的參考提供了可能的解決方案。有人可能會添加使用System.Net,這可能是解決方案。 – Emiswelt