z/OS Communications Server: IP CICS Sockets Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


The socket calls

z/OS Communications Server: IP CICS Sockets Guide
SC27-3649-00

Socket calls are shown in Steps 1 and 2 in Figure 1.

The socket API is available in the C language and in COBOL, PL/I, or assembler language. It includes the following socket calls:

Call type IP CICS® TCP API function

Basic calls:

ACCEPT, BIND, CLOSE, CONNECT, LISTEN, SHUTDOWN

Read/Write calls:

READ, READV, RECV, RECVFROM, RECVMSG, SEND, SENDMSG, SENDTO, WRITE, WRITEV

Advanced calls:

FCNTL, FREEADDRINFO, GETADDRINFO, 
GETHOSTBYADDR, GETHOSTBYNAME, GETHOSTNAME, 
GETNAMEINFO, GETPEERNAME, GETSOCKNAME, 
GETSOCKOPT, IOCTL, NTOP, PTON, SELECT, SELECTEX,  
SETSOCKOPT

IBM-specific calls:

GETCLIENTID, GIVESOCKET, INITAPI,
INITAPIX, TAKESOCKET

Figure 1. How user applications access TCP/IP networks with CICS TCP/IP (run-time environment)
Diagram that shows the communication among CICS sockets, applications, and the operation environment.

CICS TCP/IP provides for both connection-oriented and connectionless (datagram) services. CICS does not support the IP (raw socket) protocol.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014