Hi, Peter.

In the CMS environment, TCP/IP socket functions are implemented using CP IUCV under the covers...and if you take a look at the source for RXSOCKETS, you'll see it handling IUCV interrupts. So your assembly code would need to be updated to handle the IUCV interrupts used by TCPIP.
I think that this is documented in the TCP/IP Programmer's Reference.....

You also might want to take a look at the RXWAIT package (http://uvvm.uvic.ca/~freeware/) that allows Rexx applications to wait on a number of different events (message, reader queue, sockets, timer, etc.) That source code might have very nearly what you're looking for.

Good luck.

DJ

Peter Rothman wrote:
We have an old application written in ASSEMBLER and REXX.
I am by no means an assembler boffin but from what I can see the
application (assembler portion)  waits for interrupts (IO and EXT). The
interrupts are handled and REXX variables are set, processed and if any
reply is needed it is done by the assembler portion as well.

We would like to add IP to the mix.

My question:

Is there a way I can add the equivalent of the RXSOCKET SELECT function to
this?

Bottom line is that I would want to be able to wait for IO, EXT and IP
'interrupts'.

Any help would be appreciated.

Thanks

Reply via email to