reading data from a serial port?
I need to be able to read data from a serial port.
I never really writen any code that uses a com port and i am not sure how to do so.
basically i am tring to creat a program that reads data from two ports putting them to two string varibles then merge them (this part is not importent i think i can handle it myself ;) ) and then write it to another virtual com port.
is it possible to make this kind of program in java?
because I just cant figure out how to make the code listen to the com port and then write it to a virtual com port. Could someone help?
Thank you in advance.