http://d.puremagic.com/issues/show_bug.cgi?id=4365
It would be nice to be able to wait for either socket data or a cross-thread message. I've filed a bug with the request. I'm just posting here in case anyone wants to vote on the bug or in case this post will spur discussion which will cause the feature to be added sooner.
Thanks, Phil Deets