如何在VB.NET的串行Com端口中模拟wyse50/60,VT100,SCO ANSI,ANSI [英] How to emulate wyse50/60, VT100, SCO ANSI, ANSI in Serial Com port in VB.NET

查看:110
本文介绍了如何在VB.NET的串行Com端口中模拟wyse50/60,VT100,SCO ANSI,ANSI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!每个人,Serialport类可以在Serialport上模拟wyse50/60等吗?

Hi! everyone, can Serialport Class emulate like wyse50/60 etc. over serialport? If so how?

推荐答案

否,SerialPort类无法仿真大量终端和协议.
但是,您可以使用SerialPort类来实现协议并编写行为与上述类似的服务器/客户端仿真器.仿真越复杂,将进行的工作越多.

您将要:
No, the SerialPort class cannot emulate a multitude of terminals and protocols.

However, you could use the SerialPort class to implement protocols and write server/client emulators that behave like the above. The more complex the emulation, the more work it will be.

You''re going to:

    • 打开串行端口
  • 循环收听数据
  • 解析收到的消息
  • 基于协议显示输出
  • 基于用户的输入(以及协议接受的命令)发送信息



SerialPort类使您可以访问串行端口以及从中读取和写入的能力.您需要自己做其他事情.

干杯,
-jc



The SerialPort class gives you access to the serial port and the ability to read and write from it. You''ll need to do everything else yourself.

Cheers,
-jc


这篇关于如何在VB.NET的串行Com端口中模拟wyse50/60,VT100,SCO ANSI,ANSI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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