[Prev][Next][Index][Thread]

WWWLib 3.1 & blocking I/O



I'm using the WWWLib 3.1 in a Windows environment.  I'd like to use the
asynchronous winsock.  To my working, synchronous code I added the following
lines:

request->hwnd = hwnd;
request->winMsg = winMsg;
request->BlockingIO = FALSE;

I find that the call to connect() in HTDoConnect() returns WSAWOULDBLOCK.

Is there some other parameter I need to set?

Has anybody got asynchronous winsock I/O working with the WWWLib 3.1?

Does my message handler need to do anything (line call LoadHTTP() again to
get back into the state machine)?

Thanks in advance for any help/pointers/etc...

  ____  ____  ____  ____  ____  ____  ____  ____  ____  ____
 /  __\/  __\/  __\/  __\/  __\/  __\/  __\/  __\/  __\/  __|
|  /__/  /__/  /__/  /__/  /__/  /__/  /__/  /__/  /__/  /__|
|_/ \___/ \___/ \___/ \___/ \___/ \___/ \___/ \___/ \___/ \_|

Mitch DeShields     IQ Interface      207 Second St. Suite B
mitch@tam.net      (415) 331-0304       Sausalito CA 94965