I'm creating a platform independent router interface. It's purpose is to communicate with the router through a serial port. This program is to be compatible with both Linux and Windows.

I have found a library: RXTX, that does serial port communications. I tried searching everywhere on the web using google but could not find tutorials and code samples that use only RXTX. If you have any of these, your help would be much appreciated.