如何连接网络共享的串口? [英] How to connect with serial ports shared by network?
问题描述
所以
我有两个网络共享的串行端口(通过ip xxx.xxx.xxx.xxx和端口x响应),如何在不知道名称的情况下连接到它们(COM1,COM2等)? -因为使用System.IO.Ports.SerialPort,我必须告知端口名称.
I have two serial ports that are shared by network (respond via ip xxx.xxx.xxx.xxx and port x), how do i connect to them unknowing the name (COM1, COM2, etc..)? - 'Cause using System.IO.Ports.SerialPort i must inform the port name.
我认为我必须使用Win32 api 进行虚拟化 通过做出响应的端口列表 ip xxx.xxx.xxx.xxx和端口x到COM1,COM2等. ,但我不知道从哪里开始...任何人都有链接,或者知道解决方案吗?
I think that i must use Win32 api to virtualize the list of ports that respond via ip xxx.xxx.xxx.xxx and port x to COM1, COM2 and etc.., but i don't know where to start... anyone have a link, or know a solution?
谢谢!
推荐答案
你好Vinicus,
Hello Vinicus,
这是一个我认为可能有用的线程.
here is a thread that I think may be helpful.
问题:什么是?我有两个网络共享的串行端口
您能描述一下吗?
考虑艾伦(Ellen)
regards Ellen
这篇关于如何连接网络共享的串口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!