Need to read/write/verify io string through RS232 com port

Hi all,

Currently im doing a little coding to communicate between two PCs through RS232 ports.
i am thinking of using:
"writeFile" to send a string to the other PC,
"readFile" to read back the acknowledgement string from that PC and
"strcmp" to check if the read back acknowledgement string is as expected.

i believe i will need to do some "openserialport" first then followed by the above parts...

i have the idea on how it should run, but no idea how to start the coding process.

Can anyone please advice me with some examples/solutions?

Appreciate it. thank you.
Reading and writing serial ports is platform-specific. You have to say what operating system
you are planning to do this on.
Windows XP? is that the operating system you are referring to?
If you are on windows - then this should get you going.
http://www.robbayer.com/files/serial-win.pdf
thank u guestgulkan...
Topic archived. No new replies allowed.