W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1995

WWWLib 3.1 & blocking I/O

From: Christian Promitzer <cprom@iicm.tu-graz.ac.at>
Date: Tue, 17 Oct 1995 10:56:50 +0100
Message-Id: <199510170956.AA13700@iicm.tu-graz.ac.at>
To: Multiple recipients of list <www-lib@www10.w3.org>, "Keith Kiyohara" <KKiyohara@symantec.com>, Multiple recipients of list <www-lib@www10.w3.org>, frystyk@w3.org (Henrik Frystyk Nielsen), Multiple recipients of list <www-lib@www10.w3.org>, frystyk@w3.org (Henrik Frystyk Nielsen), www-lib@www10.w3.org, www-lib@www10.w3.org, cwensel@rtis.com (Chris Wensel), www-talk@w3.org, www-lib@w3.org, Henrik Frystyk Nielsen <frystyk@w3.org>, www-talk@w3.org, www-lib@w3.org, Henrik Frystyk Nielsen <frystyk@w3.org>, www-lib@w3.org, mitch@tam.net (Mitch DeShields), mitch@tam.net, msfriedm@us.oracle.com (Mark S. Friedman), www-lib@w3.org, msfriedm@us.oracle.com, Henrik Frystyk Nielsen <frystyk@w3.org>, mitch@tam.net, www-lib@w3.org, www-lib@w3.org, mitch@tam.net (Mitch DeShields), mitch@tam.net (Mitch DeShields), Henrik Frystyk Nielsen <frystyk@w3.org>, www-lib@w3.org, "'www-lib@w3.org'" <www-lib@w3.org>, Teo Kok Hoon <kokhoon@iti.gov.sg>, www-lib@w3.org, Henrik Frystyk Nielsen <frystyk@w3.org>, Maciej Puzio <puzio@laser.mimuw.edu.pl>, Henrik Frystyk Nielsen <frystyk@w3.org>, "'WWW Library Mailing List'" <www-lib@w3.org>
>>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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:25 GMT