【发布时间】:2015-07-18 20:47:38
【问题描述】:
我正在尝试制作一个简单的在线游戏,当我在 localhost 上测试我的游戏时,服务器和客户端没有问题,但是当我尝试通过本地网络将我的电脑连接到我的笔记本电脑时,这开始接收数据但是几秒钟后它停止了。
这是我的代码:
【问题讨论】:
-
欢迎来到 stackoverflow.com。请花一些时间阅读the help pages,尤其是名为"What topics can I ask about here?" 和"What types of questions should I avoid asking?" 的部分。也请read about how to ask good questions。您可能还想了解如何创建Minimal, Complete, and Verifiable Example。
标签: c++ c networking udp server