关于虚拟串口的讨论(200分)

  • 主题发起人 主题发起人 VictorWoo
  • 开始时间 开始时间
V

VictorWoo

Unregistered / Unconfirmed
GUEST, unregistred user!
关于虚拟串口的讨论

需求:
1. 创建定制的附加虚拟串口。对于其他windows程序来说,该虚拟串口被识别为真实的串口。这样我们的程序可以对其它Windows程序发出去的数据做重定向
2. 类似PortMon的功能,能够作为中间层,捕获其它Windows程序向物理串口收发的数据,并做处理

讨论1:
见过一个软件Virtual.Serial.Port.v3.5.0.1-Lz0,说明如下http://0daycheck.eastgame.net/0day/archives/19310_Virt.html
不过年份太早了,找不到了,另外最新版的已经到4.x了。找不到新的破解。
如果自己做的话,要如何生成这个虚拟串口?比如说写设备驱动,有没有现成的Delphi源码,或者动态链接库?
DFW上我搜索了好久,似乎没有可行的

讨论2:
PormMon可能是用虚拟设备驱动。应该也可以HOOK CreateFile来处理。但如果Win程序用的是spcomm等控件,也一样能被HOOK CreateFile捕获么。
另外,钩子还要处理哪些函数?(想象过去,工作量也够大。。。估计可行性小)
还有没有别的方法?

分不够可以再加,这两个需求我想对许多程序员很有用,需求1可以作为一个串口设备虚拟机,调试程序用。需求2可以作为LOG所有串口数据,作为调试或备案。PortMon的使用毕竟还有局限性。
最好有源码能参考,欢迎讨论:)[8D]
 
我这里有Virtual.Serial.Port.v3.5.0.1
不过只是破解文件.
oicq:4010849
 
:P 我这里也是只有破解文件。去crack.ms、astalavista.ms之类的老外破解站,也只能下到crack文件了。安装文件找不到 -_-|||
国内的0day,如tlf之类包含安装文件,但又没有保留这么久的东东,郁闷
不过还是谢谢回复:)
 
下载最新的,然后使用3.5的crack也许能用,也许功能少些.
 
装了4.5.4.76 demo
http://www.eltima.com/download/vspactxd.exe
但是里面根本没有VSPort.ocx可替换。
更奇怪的是,装完demo以后,delphi仍打不开demo中带的例子。确控件。
 
可能是写了驱动程序,应该和windriver原理差不多,
 
终于有人问到虚拟串口了.但看样子还是没有答案.
其实创建虚拟串口的控件很多.网上有好多,我个人认为,关键是怎么来读取虚拟串口的数据.
我见过有一些公司,用国外的虚拟串口软件创建串口,然后他们自已做一个软件接收这个虚拟串口的数据.最后将数据封包再发往以太网.这就是所谓的串口转以太网技术.
我也有创建虚拟串口的程序.哪位要可以发给他.但是如何读取虚拟串口的数据,这一直没有答案.虚拟串口看起来好像是可以被两个程序同时占用的.也就是说当一个程序打开虚拟串口COM5时发数据时,充许另一个程序在后台对虚拟串口进行监听.表面上发往虚拟串口COM5的数被另一个程序监听并发到别的地方.
 
嗯,能告诉我这个虚拟串口程序的名字或者发到我邮箱么?谢谢!
victorwoo gmail.com
 
很大呀.将近8M.你邮箱能收吗.
 
gmail,不知能不能,可以winrar分包压缩。或者告诉我软件名,我自己google 。。
 
加我QQ吧.用QQ传.175287606
 
我曾经这个问题困惑好欠,因为公司要求我们的程序有网络发送功能,但这个程序是以前的人做的,没有源码,只有COM口通讯.所我我就想到了虚拟串口,因为在创建了虚拟COM口后,WINDOWS程序是不能识别的.还是照往COM口发,但我就可以在虚拟的COM口创建一个监听程序将数据收下来处理.但一直没有答案.
讨论一下:
对于虚拟串口的数据监听,如果能捕获打开COM口的线程就好了,那可以创建一个线程,再对这个线程进行监听.不知是不是这样思路.
 
在这里找破解 http://astalavista.box.sk 建议收藏此网站。
 
5.0下载
引用页: http://www.softsea.net/soft/131972.htm
URL: http://www.softsea.net/download.php?id=131972
 
郁,又回到这个链接。
这个是一个独立的程序。如果用在商业程序中要收费的。
我希望找到控件之类的东西,作为中间层。
不过我在命题里没说清楚,没关系,结贴时分照给。
to BrainYang,你说的这些就是传说中的"0day"了,你去google一下,会有大发现:)
 
你看看这个,好像可以!
Eltima.Serial.to.Ethernet.Connector.v3.1.12.143.WinALL.Cracked
Introduction
Serial to Ethernet Connector is the software-based solution that allows you to share up to 255 serial port devices over TCP/IP network turning your computer into low-cost terminal server. As the result, any serial port device connected to COM port could be accessed from anywhere in the world as if it is attached to local PC. Formerly known as VSPD.Net Serial to Ethernet Connector has completely new interface and greatly revamped engine. It provides the ability to create three different types of connection:

Port-to-port connection, which lets you connect two computers over TCP/IP network. In this way you can emulate virtual null-modem cable connection. Serial to Ethernet Connector allows you to customize remote serial port settings locally or dynamically fetch these settings from the remote end. With Serial to Ethernet Connector you are no longer restricted by null-modem cable length and can establish direct connection with virtually every PC over the world
Port-to-TCP client, which allows you to connect to remote server and send/receive communication serial data over TCP/IP network. All that you have to do is specify remote server's IP address (or network name) and TCP port to connect to and open local COM port. Once connection is established, all data sent from remote serial port device, attached to the server, will be genuinely delivered to local serial port where it can be further processed
Port-to-TCP server: you will find it indispensable to establish multiple connections to local serial port device and redistribute COM port device data all over the world. Server listens to all incoming connections at the defined TCP port and redirects input/output serial data to TCP/IP network. You may specify TCP port to listen to, COM port and TCP port access rights, etc. Server could be configured to start automatically on system boot, taking advantage of Windows services approach
Port-to-UDP connection that allows you connect two serial ports via UDP (User Datagram Protocol), providing additional flexibility for specific services (DNS, mail, finger, etc.)
To get more information about differences between these types of connection, please, consult Usage Scenario page.

How does it work?

Serial to Ethernet Connector uses virtual port technology which fully emulates real serial ports and duplicates all their functionality. Windows OS treats virtual serial ports in the same way as real ones therefore you are no longer limited to just 2 real ports (less/any number of physical ports you have in the system) per system and may create COM port connections without occupying any real serial port. To create such connection you should create serial port's connection pairs on both of the computers. You must specify IP address and port number to access to (in case you are setting up the client), port number and TCP/COM options to listen to (in case you are establishing the terminal servers) or remote serial port name to access (if you are emulating null-modem connection). These settings will be used to connect to remote computer. When serial port device, attached to real COM port, sends communication data it will be actually transmitted over TCP/IP network.

Main Features

Share your serial port device with others using TCP/IP client-server application
Both TCP/IP and UDP/IP protocols are supported
Connect to remote computer using null-modem emulation
Provide access to up to 255 serial ports simultaneously
Serial port is not restricted to COMxx and may have virtually any name
High speed data exchange from/to virtual serial port (up to 256 kbits)
Automatically restore connection within a customizable timeout on connection brakes
Dynamically change communication port parameters without necessity to reopen it
Ports could be automatically configured every time you boot your PC
Map your real serial port to any other virtual or real port (up to 255)
Customize serial port's connection parameters (baudrate, parity, flow-control, databits, stopbits)
Connection speed in serial port pairs is much more reliable and faster than in physical links
Fully compatible with Windows 98SE/Me/NT4/2000/XP/2003/64-bit XP/64-bit 2003
Fully compatible with HyperThreaded and multi-processor systems
Works under virtual machine
Single license allows you to install this application on two computers to provide client-server architecture
分发说明:
In order to be able to use Serial to Ethernet Connector's great features within your application, SEC should be installed on target machines (you can include this as a part of your software installation). Please, note that you need to own OEM license to be able to redistribute Serial to Ethernet Connector without any limitations. Only OEM License grants commercial royalty-free redistribution rights.
 
这个我也看到了,可是我要的是控件或者源码,而不是要做好的程序啊。
 
VictorWoo,你好,如果虚拟串口有了,你有办法接收数据吗.我现在在外面,无法传那个虚拟串口创建程序.
 
本人正在做串口相关,对虚拟串口很感兴趣
 
后退
顶部