[vbox-dev] TCP Socket Polling?

Robert Zeljko robertzeljko at yahoo.com
Fri May 4 22:06:57 GMT 2007

I'm using RTTcpClientConnect and RTTcpRead/Write in my VBox device emulator to
get some remote data.
I can poll for the reads on the socket (bad), I can create a thread and wait on
RTTcpSelectOne or plug-in my socket handle somewhere and get called back by the
VBox framework.
Creating a thread is an option but is more complicated (and I'm lazy) than
simply registering a socket handle with the framework and waiting to be called
QEMU has qemu_set_fd_handler2 to do that.
Is there a way to do the same in VBox.

Thanks for your help!

-- robert

More information about the vbox-dev mailing list