Hi,
In message "Re: socket.c - s_recvfrom"
on Thu, 7 Jul 2005 12:24:50 +0900, Zach Dennis <zdennis / mktec.com> writes:
|If I am reading s_recvfrom correctly in can throw an error which kills
|the application...
|
|Would it make sense for it to return a -1 if the underlying call to
|recvfrom failed, like the unix system call recvfrom does?
No, every system call in Ruby throw an exception on failure
consistently. If I change the recvfrom behavior, it causes a bad
inconsistency. Can you accustom yourself to the Ruby Style?
matz.