A
ara.t.howard
I tried your code again by building a standard Ruby extension too, and
it worked; no idea what SWIG is doing different.
But there is although the problem, that if I'm reading from the
descriptor, and no data is there, the complete ruby application blocks.
=(
Concerning the solution with sockets.
For single messages it works perfectly, but if there are a higher load,
I experienced, that some Messages did not arrive in Ruby. Is there no
receiving buffer in ruby? Have got anybody an idea.
probably it's on the c end - you may be continuing to send data when the pipe
is full - are you checking the exit status of the writes?
regards.
-a