[vbox-dev] TCP Socket Polling?
robertzeljko at yahoo.com
Fri May 4 15:06:57 PDT 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
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!
More information about the vbox-dev