WWWLib 3.1 & blocking I/O

>>From www-lib-request@w3.org Thu Sep 21 02:09:21 1995
>Resent-Date: Wed, 20 Sep 1995 20:04:25 -0400
>Resent-Message-Id: <199509210004.UAA01917@www19.w3.org>
>Date: Wed, 20 Sep 1995 17:03:06 -0700
>From: msfriedm@us.oracle.com (Mark S. Friedman)
>To: mitch@tam.net
>Cc: www-lib@w3.org
>Subject: WWWLib 3.1 & blocking I/O
>Reply-To: msfriedm@us.oracle.com
>Content-Length: 692
>Resent-From: www-lib@w3.org
>X-Mailing-List: <www-lib@w3.org> archive/latest/222
>X-Loop: www-lib@w3.org
>Sender: www-lib-request@w3.org
>Resent-Sender: www-lib-request@w3.org
>Precedence: list
>
>Mitch DeShields writes:
> > 
> > I'm using the WWWLib 3.1 in a Windows environment.  I'd like to use the
> > asynchronous winsock.  ...
> > 
> > I find that the call to connect() in HTDoConnect() returns WSAWOULDBLOCK.
> > 
> > Does my message handler need to do anything (line call LoadHTTP() again to
> > get back into the state machine)?
>
>Assuming that WWWLib 3.1 work the same way as 3.0, you just need to
>re-call whatever lib call you originally made (i.e. LoadHTTP) that
>returned WSAWOULDBLOCK. 
>
>The way the non-blocking IO mechanism works is for the load functions
>to return either when they complete their operation, when they would
>block waiting for input or when they get an error.
>
>-Mark
>
>
>
----------------------------------------------------------------------------
Christian Promitzer                                 cprom@iicm.tu-graz.ac.at
Institute for Information Processing and Computer Supported New Media (IICM)
                   Graz University of Technology, Austria
Voice: ++43/316/873-5644                                Fax: ++43/316/824394
----------------------------------------------------------------------------
     ______    __   __                                ______     ______ 
     \ \ \ \  |_ | | _|    _ _ __   ___ _ __         /  ____)   / / / / 
      \ \ \ \  | `-' | \  / | '_ \ / _ \ '__) ,---.  | | ___   / / / / 
      / / / /  | ,-. |\ \/ /| |_) |  __/ |    `---'  | |__/ |  \ \ \ \ 
     /_/_/_/  |__| |__|\  / | .__/ \___|_|           \______|   \_\_\_\
                       /_/  |_|                            

For information on Hyper-G look at http://hyperg.iicm.tu-graz.ac.at/Chyperg
----------------------------------------------------------------------------

Received on Tuesday, 17 October 1995 05:58:16 UTC