如何通过USB数据线在两台PC之间进行通信i [英] how can i communicate between two PC's via the USB data cable i

查看:81
本文介绍了如何通过USB数据线在两台PC之间进行通信i的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何通过c#

推荐答案

AFAIK中的USB数据线在两台PC之间进行通信,如果没有特殊的线缆你就无法做到:PC是两个USB主机,并期望在另一端看到USB客户端。我没有详细介绍USB规范,但我不希望直接主机 - >主机连接工作。



有电缆解决方案可用: Google [ ^ ]但如果这些不是你所看到的那么你就是靠自己! :笑:



老实说,我不会亲自去做。你几乎肯定有一个有线/无线路由器,你的互联网路由器的形式,所以我只是挂钩另一台PC,并这样做。
AFAIK, you can't do it without a special cable: the PCs are both USB Hosts and expect to see USB clients at the other end. I haven't gone into the USB specification in that much detail, but I would not expect a direct Host->Host connection to work.

There are cable solutions available: Google[^] but if these are not what you are looking at then you are on your own! :laugh:

In all honesty, I wouldn't do it, personally. You almost certainly have a wired / wireless router in the form of your internet router, so I'd just hook another PC to that and do it that way.


这就像许多 - 数据库中的多对多关系。您需要使用放在一起的硬件芯片将其分解。

您可以使用共享数据总线的2个微控制器。它们中的每一个都连接到其中一台计算机。数据流量方案由您决定。您可能需要编写驱动程序(取决于您使用的微控制器)。
This is like a many-to-many relationship in a database. You need to break it down using a hardware chip you put together.
You can use 2 micro controllers sharing a data bus. Each of them is connected to one of the computers. Data traffic scheme is up to you. And you might need to write a driver (depending on the micro controller you are using).


这篇关于如何通过USB数据线在两台PC之间进行通信i的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆