From: Michael Hale Date: 2004-01-15T05:14:09+09:00 Subject: Re: c extension troubles on windows Unfortunately I don't have the source for the windows version of the library I am using, so I can't say what the code looks like. I did create a simple C program that I compiled into a command line .exe in MSVC, which works fine. Here is the pseudo code: connect get_hardware_version disconnect However, I still run into problems when trying to use ruby to interface to my library on windows. I am beginning to think that this could be a bug in ruby. On Dec 5, 2003, at 1:01 AM, Jon A. Lambert wrote: > Do you call ioctlsocket() to set the socket to non-blocking? >