Need help with qeventloop_win

Ralf Habacker ralf.habacker at freenet.de
Fri Oct 22 10:41:59 CEST 2004


On Sunday 17 October 2004 19:23, Chris January wrote:
> > Hello
> >
> > I'm currently working on network support for qt/win32. But
> > I've problems with incoming events/timers when qt needs to
> > fetch data from the socket. This is because there is no
> > implementation of (un)registerSocketNotifier(),
> > setSocketNotifierPending() and some more related functions in
> > qeventloop_win(_utils).cpp. Since I'm not good in such things
> > I hope that someone on the list knows a little bit more about
> > and can help.
>
> You probably need to look at the Winsock 2 async I/O functions. I'll see if
> I have time to take a look at this. Could you check in your network support
> work so far?

The related functions are WSAEventSelect and friends 

WSAEventSelect 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/wsaeventselect_2.asp

WSAEnumNetworkEvents 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/wsaenumnetworkevents_2.asp

WSAWaitForMultipleEvents
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/wsawaitformultipleevents_2.asp

Ralf 



More information about the kde-cygwin mailing list