如何在没有互联网连接的情况下连接平板电脑和PC

发布于 2025-01-16 05:06:51 字数 240 浏览 1 评论 0原文

我有两个应用程序通过 websocket 和 webRTC 相互通信 这些应用程序意味着可以离线工作。 当数千个应用程序在同一台计算机上运行时,通信可以离线工作。
我知道有数千种协议可以在通过 wifi 连接的两个设备之间运行。

我的计划是在PC上运行服务器并通过wifi与平板电脑连接。

所以我的问题是。使用离线计算机。我可以创建本地 wifi 网络并将平板电脑连接到该网络以启用 websocket 和 webRtc 通信吗?

I have two applications that communicate between themselves with websocket and webRTC
Those applications meant to work offline.
The communication works offline while thous applications run on the same computer.
I know that Thous protocols can work between two devices connected by wifi between them.

My plan is to run a server on a PC and connect to it with Tablet through wifi.

So my question is. With an offline computer. Can I create a local wifi network and connect a tablet to this network to enable websocket and webRtc communications?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

世界和平 2025-01-23 05:06:51

是的,你应该没有问题,更好的是你不需要转动/眩晕服务器,因为你的电脑平板电脑不会隐藏在 NAT 后面

Yes you should have no problem, even better you won't need a turn/stun server because your pc tablet won't be hidden behind NAT

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文