将设备连接到计算机 [英] Connecting device to Computer

查看:114
本文介绍了将设备连接到计算机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我只想知道,我们可以使用mfc中的CSocket类将设备连接到计算机吗?
我为此做了很多搜索,但是没有任何想法.请帮帮我.
谢谢.

Hi,
I just want to know that, Can we connect device to computer by using CSocket class in mfc?
I have googled a lot for this, but not getting any idea. Please help me.
Thanks.

推荐答案

您可以使用套接字连接两个网络设备,例如两台带有网络适配器的计算机或一台带有网络适配器的驱动器的计算机,或者任何支持基于网络的通信的东西.套接字也可以在计算机内部使用(有很多使用此解决方案的基于客户端-服务器的软件套件),但是如果设备是基于USB的,则所有通信都必须通过USB接口进行.
You can connect two network devices using sockets, such as two computers with network adapters, or a computer with a drive that has a network adapter, or really anything that support network based communications. Sockets can also be used internally within your computer (there''s a lot of client-server based software suites that use this solution), but if a device is say USB based, then all the communications must go through the USB interface.


这篇关于将设备连接到计算机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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