Click here to Skip to main content
15,867,906 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to create a utility which will help me convert an ethernet connection(IP and port) to a virtual serial port. Can anyone help me with a class or function for doing the same?
Posted
Comments
Garth J Lancaster 10-Dec-14 22:59pm    
not clear what you're asking for - do you mean you wish to write an interface between an Ethernet connection and a serial port, to provide bidirectional comms between the two ? (or, which end initiates the conversation) - a bit more explanation is required
Coder Block 11-Dec-14 0:50am    
Hi Garth,

I am trying to communicate with an RS485 device through an ethernet to serial converter using my system's ethernet port.
I have made a sample application in JAVA which uses socket communication for communication with device. This appln. works.
But we have a couple of legacy applications which do not support socket communication but only support communication over serial port.
So we thought of developing a utility which will create a virtual serial port over which we can establish communication through applns. supporting serial port selection.
Tried com0com and com2tcp but was not successful.
It would be great if anyone could guide me with any reading material or share their experiences in doing such a thing.

1 solution

this may help if that's indeed what you are asking for (ymmv)

Serial Port to Network Interface[^]
 
Share this answer
 

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