<snip> > Now what is happening above with the paint program is very simple. > Your mouse clicks are getting to the library on the server, but the > program is polling for the mouse state, and it is missing some of > them. This is the nio_mouse_state() procedure call. And, of course, it > misses some of the clicks because it is in a different part of the > program when you click. Any particular reason why you are not using a message queue on the server? I mean instead receiving a message, changing the "browser state" and hoping the client code catches the "event" at right time, put it in a message queue and let the client code handle the messages as any other SDL program? /Olof <snip> --------------------- To unsubscribe go to http://gameprogrammer.com/mailinglist.html