Heres a message I just posted to the amiga-c mailing list.. hopefully someone here might be able to help me, if the people on the amiga-c ml arent able to...
> On Mon, 24 Mar 2003, jahc2 wrote:
>
> > I'm having trouble using multiple tasks/processes and msgports,
so
> > now I'm looking into just using one task to handle every thing.
I'm
> > making an internet program with a MUI GUI. How can I make my
program
> > wait until there's information waiting at my socket? I'm thinking
> > WaitSelect() could possibly do the job? I want to wait for
internet
> > activity AND gui stuff at the same time, if thats possible.
>
> Correct, just use WaitSelect() instead of Wait() there... Also
remember
> use sockets in the non-blocking mode. Otherwise your UI gets stuck
very
> easily when sending/receiving data.
I'm using a Reaction GUI in my program now, and it wont process GUI stuff until data arrives at my socket..
GetAttr(WINDOW_SigMask, window_obj, &signal);
WaitSelect(STDIN, &readfds, NULL, NULL, &tv, &signal);
I dont think "signal" is being signalled when I try to use my GUI. Does anyone here have any Reaction experience?