z/OS UNIX Socket types

The z/OS® UNIX socket API provides application programs with a network interface that hides the details of the physical network. The socket API supports both stream sockets and datagram sockets, each providing different services for application programs. Stream and datagram sockets interface to the transport layer protocols, UDP and TCP. You choose the appropriate interface for an application.