jdl
jdl

Reputation: 6323

Can I read and write via one (USB to SerialPort converter) through NULL modem cable to another (SerialPort to USB) on same computer?

I am writing a Serial Port class in C++.

To test this: I want to hook up a USB to SerialPort(RS-232) converter on one USB. Connect a NULL modem cable from that SerialPort(RS-232) to Serial to USB convert to another USB on the same computer.

Upvotes: 0

Views: 148

Answers (1)

jdl
jdl

Reputation: 6323

Yes I was able to hook up 2 (USB to RS-232 converts) to the same computer and connection between them was established via NULL modem cable.

Then I had to look in the DeviceManager ports to see what com ports I can use.

Ran a 2 instances of the program(client, server) communication worked well.

Upvotes: 0

Related Questions