我们能否在通过蓝牙连接的两台计算机之间建立无连接或面向连接的连接?

发布于 2024-12-16 15:50:03 字数 94 浏览 1 评论 0原文

这听起来是一个愚蠢的问题,但我正在尝试通过蓝牙在 3 台计算机之间创建一个网络,我们是否可以尝试在每个节点之间建立无连接或面向连接的连接,就像我们在 IP 网络中所做的那样。

This sounds a silly question, but I'm trying to create a network between 3 computers over bluetooth, can we try to establish a connection-less or connection-oriented connection between each node, just like we do in IP networks.

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

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

发布评论

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

评论(1

惟欲睡 2024-12-23 15:50:03

可以使用蓝牙进行点对点网络,具体方式取决于您的操作系统,

这里有一些示例,

Linux
http://giovanni.wordpress.com /2007/04/06/如何使用-tcpip-over-bluetooth/

Windows
http://www.conniq.com/Windows-networking/Bluetooth_PAN_xp-setup_12。 htm

Android
https://android.stackexchange。 com/questions/6072/is-it-possible-to-have-a-tcp-ip-network-using-bluetooth

注意:

这将取决于您的 BT 设备/堆栈支持的配置文件,

http://en.wikipedia.org/wiki/Bluetooth_profile

LAN 访问配置文件允许蓝牙设备访问通过支持蓝牙的路由器或接入点连接互联网。

PAN(个人区域网络)配置文件将允许您执行您所描述的操作。它本质上看起来像以太网,所以你可以用它做任何事情。当然,对于您所描述的内容,您将需要静态 IP 地址,但是您应该能够 ping、建立套接字等。

同样,设备和操作系统必须支持此配置文件,但大多数都应该支持。

Its possible to do peer to peer networking with bluetooth, the how depends on your OS,

here are a few examples,

Linux
http://giovanni.wordpress.com/2007/04/06/how-to-use-tcpip-over-bluetooth/

Windows
http://www.conniq.com/Windows-networking/Bluetooth_PAN_xp-setup_12.htm

Android
https://android.stackexchange.com/questions/6072/is-it-possible-to-have-a-tcp-ip-network-using-bluetooth

Note:

this will depend on the profiles your BT device/stack supports,

http://en.wikipedia.org/wiki/Bluetooth_profile

the LAN access profile lets a bluetooth device access the internet via a bluetooth enabled router or access point.

The PAN (personal area network) profile will allow you to do what you are describing. It essentially looks like Ethernet, so you can do anything with it. of course for what your describing you will need static ip addresses, but then you should be able to ping, make sockets, whatever.

Again the device and the OS has to support this profile, but most should.

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