Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在用 C# 创建一个应用程序,它应该使用 UDP 发送数据。
一切正常,直到我尝试与路由器后面的互联网上的 PC 通信。
我该如何解决这个问题,以便我可以在没有端口转发的情况下使用 UDP?
我认为您最大的希望是UDP 打孔。
我的理解是,每个主机都向对方发送数据。这会欺骗防火墙/NAT 认为连接已经建立。