The socket calls would be something like: socket (create one) setcockopt for linger (if you want it) bind (if you wish to use a particular interface) connect
At this point you want to pass data. You have two full duplex streams unless you application does otherwise. select (if you wish to be driven by TCP window availability) read/write When you come to the end you should shutdown (the write side) Wait for EOF on the socket read side and finally close On 11/06/15 17:01, Dave Jones wrote:
Hello, fellow plumbers.... I have a problem....I have developed a nifty app that has a TCP/IP based server, running on Intel Linux that communicates with a CMS client, using the Pipe TCPCLIENT stage. Now I have to have a similar client that runs on z/OS in aTSO session. My question is: how would I convert the TCPCLIENT stage to a series of RXSOCKET calls? The TCPCLIENT stage is this: .... tcpclient ip port linger 5 DEBLOCK LINEND 0A.... What would the equivalent RXSOCKET calls look like? I already know how to handle the ASCII<>EBCDIC conversion and deblock steps....:-) Thanks and have a good one, too. DJ -- Dave Jones V/Soft Software www.vsoft-software.com Houston, TX 281.578.7544
