Redirector

Mark82

Newcomer
Joined
Jun 22, 2003
Messages
12
Hi i'm trying to make a comm to ethernet redirector, and unfortunaltly i have no idea where to start. does any one any any idea. preferable in VB.NET but C# will be ok to.

all it needs to do is grab any data been sent to a comm port and the send it out the ethernet. and then go back the other way.

if some one can offer any assistance it would be great thanks.
 
What part are you having trouble with? It's relatively straight forward.

initialize TCP connection
initialize RS232 Serial connection
wait for com or tcp data arrival event or you can have a thread running which polls each pipe for data in the receive buffer.
forward data to com or tcp connection

If you do a google search you can find a class that handles the RS232 side of things.
 
Last edited:
Back
Top