From: Joakim Oman Date: 2006-06-09T00:00:34+09:00 Subject: serial port Hello I have been trying to come up with a simple way of utilizing the COM1 port on my Windows XP Machine. The result is at the end of this entry (sorry for the linebreaks) This program requires that the tx and the rx ports on the COM-port are connected. The program is just talking to itself. The second thread in the program listed below is the listner and if I remove the sleep function the whole things goes havoc. What I would like is if someone could tell me why or even better, come up with a really nice and functional serial communication class that works with win32 /Joakim ----------------------------------------------------------- class Serial1) sleep(0.015) } } t1.join t2.join -- Posted via http://www.ruby-forum.com/.