Click here to Skip to main content
15,887,331 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to create a virtual com port. I created virtual com via drivers but there is no way to connect those virtual com together. Anyone who has done it before can give me a hint.

What I have tried:

Anyone who has done it before can give me a hint.help me.
Posted
Comments
Tân Nguyễn Văn 27-Apr-20 19:51pm    
Can you explain more clearly for me? I really don't specialize in programming. This project is really a bit overwhelming
Thank you

The driver will have to redirect the data directly to the second loaded driver, or to a software which will do that. You will have to implement a driver for that yourself providing the interface for that.

There is also software for doing that.
You can check i.e. com0com, which is under GPL.

If you require testing your software, you can also use two USB serial adapters and just connect them.
 
Share this answer
 
v2
Comments
Tân Nguyễn Văn 27-Apr-20 19:53pm    
I used drives uic_vcp_w10_0002 to creat virtual com port
Tân Nguyễn Văn 27-Apr-20 20:07pm    
Can you explain more to me? I do not specialize in programming. This project is really overwhelming
You will have to implement a driver redirecting the data to memory instead of hardware. You will also need a bit of software to push the data from one side to the other or at least to configure the driver to directly do that.

If you don't want to do it yourself, you can check com0com or just connect two serial adapters together.
 
Share this answer
 
Comments
Tân Nguyễn Văn 28-Apr-20 4:07am    
How to configure the driver to directly do that. Can you explain more clearly for me? thank you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900