Subject: | |
From: | |
Reply To: | |
Date: | Thu, 5 Jun 1997 07:40:02 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Neil Harvey writes:
>We have developed a socket listener in Cobol on the HP3000 as part of
>our web solution for a client.
>
>We used a sockets library that has been "wrapped" for easy use from
>Cobol (I can't remember who on this list originally gave me this), but
>one thing we would really like is the ability to do non-blocking io on
>the socket. Failing this, we would like to set up a timer which would
>interrupt the read after a certain timeout period.
>
>Would IPC Intrinsics give us this, and if so, where are they documented
>for the HP3000? How about RPC's? Are they available for the HP3000?
NetIPC gives you these capabilities. You can do nowait i/o on a socket,
and NetIPC sockets have built-in timers which you can configure in tenth
of second increments (not necessarily reliable at very small values).
This is all explained in the NetIPC 3000/XL Programmer's Reference Manual
HP Part# 5958-8600 (Oct-89). Its also on LaserRom.
<plug>
I wrote a library of routines callable from Cobol for NetIPC which expose
all of these features you wish to use (and many more). This library,
called QSDK also includes a free copy of our MPE based web server QWEBS.
QWEBS uses the QSDK socket library for all its network i/o. You can
email me directly if you want more information about QSDK.
</plug>
duane percox
[log in to unmask]
|
|
|