From: "Michael P. Soulier" Date: 2006-09-25T20:23:44+09:00 Subject: Re: undefined method `recvfrom_nonblock' --bFsKbPszpzYNtEU6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 25/09/06 Francis Cianfrocca said: > That's what I expected. Update Ruby, get past the documentation issue, and > you should be ok with nonblocking i/o. In regard to timing, I would use > select rather than SIGALRM. I find it odd that there are multiple released 1.8.4s. That's never happened with any other language that I use. I ended up using Timeout::timeout to timeout my recvfrom call. You're right, in general, select/poll would be better. Mike --=20 Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein --bFsKbPszpzYNtEU6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD4DBQFFF7w4KGqCc1vIvggRAtxyAJjJP3yl72RJJ1GCj7psJlUFXt4gAKDBaWHB TlWdIX6a7YyBjYc0UgfvDQ== =8ZWi -----END PGP SIGNATURE----- --bFsKbPszpzYNtEU6--