串行端口-TCP端口重定向器 [英] Serial Port - TCP Port redirector
问题描述
是否有一些代码示例可用于创建可将串行数据重定向到TCP套接字并返回的控制台程序?
谢谢
我们没有针对此特定情况的任何特定内容.该解决方案将是可能包含我们其中两个示例的自定义版本:
序列-C:\ WinDDK \ 7600.16385.1 \ src \ serial
网络-C:\ WinDDK \ 7600.16385.1 \ src \ network
当然,这仅适用于驱动程序.因此,对于控制台端,您可以将SDK中的示例用于串行和套接字API.
我希望这会有所帮助.
也:
CSocket: http://msdn.microsoft.com/zh-cn/library/wxzt95kb(VS.80).aspx
CSerial: 解决方案
We don’t have anything specific to this particular case. The solution would be a custom build of potentially 2 of our samples:
1. Serial - C:\WinDDK\7600.16385.1\src\serial
2. Network - C:\WinDDK\7600.16385.1\src\network
Of course, that would only apply to drivers. So for the console side, you could utilize the samples in the SDK for both serial and socket API’s.
I hope this helps.
Also:
CSocket: http://msdn.microsoft.com/en-us/library/wxzt95kb(VS.80).aspx
CSerial: http://www.codeproject.com/KB/system/serial.aspx
Codeproject also has samples for networking/tcip/sockets.
这篇关于串行端口-TCP端口重定向器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!