communication program between pc and ied(intelligent electronicdevice)

I need some help about C/C++ programming.
I want to write program that use in communication purposes.
I have a PC and some kind of electronic devices which have able to communicate on serial interface(RS232 or RS485)
and then I know the device's communication specifications(handshaking, timeout and all other attributes).this is called as communication protocol.
these devices can serial communicate and can receive or transmit blocks of data which consists of hexadesimal codes.
how can I create serial communication on c/c++?
should you send any sample programs or any comments?

Thank you in advance for taking your time to interest my mail..

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!