addInput(socket, INPUT_READ) on WinXP
-
lyle (at lylejohnson)
Lyle replied: I have the feeling this doesn't work for sockets (as you suspected). The way in which Ruby abstracts files and sockets as general-purpose I/O objects makes the mapping to FXRuby a little hairy, especially on Windows. I will look into this ASAP, but it will probably take me awhile to get a handle on it since I'm not a Windows programmer.
-
lyle (at lylejohnson)
User Jim Hall added:
I'm getting the same behavior on windows even when testing using a dummy IO object directly:
dumsocket=IO.new(0,"r") @application.addInput(dumsocket,INPUT_READ,method(:packetInLoop))Wish I could help more. Unfortunately, I'm not a Windows coder myself either.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.