Faking an RS232 Serial Port
If you are developing for Windows, the com0com project might be, what you are looking for. It provides pairs of virtual COM ports that are linked via a nullmodem connetion. You can then use your favorite terminal application or whatever you like to send data to one COM port and recieve from the other one. … Read more