Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : WaitForMultipleObjects

www.cryer.info
Managed Newsgroup Archive

WaitForMultipleObjects

Subject:WaitForMultipleObjects
Posted by:"Bart van der Werf" (blueli..@xs4all.nl)
Date:Wed, 16 Aug 2006 12:34:02

I want to use WaitForMultipleObjects to wait for a pool of connections.

with this peice of code as a start im currently trying to get it to work.

    WSAEventSelect( FSocket.Socket.Binding.Handle, FEvent, FD_READ +
FD_CLOSE);
   WaitForManyObjects(@FEvent, 1, False, INFINITE);


however WASEventSelect will put the socket into non blocking mode, something
i don't want for the writing part of the connection, how can i expose such
functionality through INDY ?

grt, Bart van der Werf

Replies:

www.cryer.info
Managed Newsgroup Archive