DWinsock {*word*218}:

When my event code gets called to say data has arrived, must I read the
data as quick as I can and return, or can I take my time.

My question is really, how is blocking done.

Specifically, I have an application to allow my Unix box to use my PC's
comms port.  But when my outgoing comms buffer is full, and my
"OnReceive(??)" routine gets called, can I let it wait
(application.processmessages) until the coms buffer has room, or what?

I know I ought to use the comms event that the outgoing buffer is empty
to read data from the winsock quere, and I will change this, but I still
have an interest in the answer.

How full will the incoming winsock queue get?  etc

--
Sam Liddicott                                  
Campbell Scientific Ltd.                        
14-20 Field Street, Shepshed,                  
Leicestershire,                            Phone: +44 (0) 1509 601141
United Kingdom. LE12 9AL                   Fax:   +44 (0) 1509 601091