Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
UdpOpen z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference SC27-3660-00 |
|
This procedure requests acceptance of UDP datagrams on
the specified socket and allows datagrams to be sent from the specified
socket. When the socket port is unspecified, UDP selects a port and
returns it to the socket port field. When the socket address is unspecified,
UDP uses the default local address. If specified, the address must
be a valid home address for your node.
Note: When the local address
is specified, only the UDP datagrams addressed to it are delivered.
If the ReturnCode indicates the open was successful, use the returned ConnIndex value on any further actions pertaining to this UDP socket. Figure 1 shows an example. Figure 1. UdpOpen example
For a description of Pascal return codes, see Table 1. |
Copyright IBM Corporation 1990, 2014
|