z/OS Communications Server: IP Programmer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


rapi_sender parameters

z/OS Communications Server: IP Programmer's Guide and Reference
SC27-3659-02

Sid
This parameter is the session ID for the session initiated by a successful rapi_session() call.
Flags
No flags are currently defined for this call.
LHost
This parameter can point to a rapi_addr_t structure specifying the IP source address and, if applicable, the source port from which data is sent, or it can be NULL.

If the IP source address is INADDR_ANY, the API uses the default IP address of the local host. This is sufficient unless the host is multihomed. The port number can be zero if the protocol for the session does not have ports.

A NULL LHost parameter indicates that the application wishes to withdraw its registration as a sender. In this case, the following parameters will all be ignored.

SenderTemplate
This parameter can be a pointer to a RAPI filter specification structure specifying the format of data packets to be sent, or it can be NULL.

If this parameter is NULL, a sender template will be created internally from the Dest and LHost parameters. The Dest parameter was supplied in an earlier rapi_session() call. If a SenderTemplate parameter is present, the (non-NULL) LHost parameter is ignored.

SenderTspec
This parameter is a pointer to a Tspec that defines the traffic that this sender will create and must not be NULL.
SenderAdspec
This parameter must be NULL or unpredictable results can occur.
SenderPolicy
This parameter must be NULL.
TTL
This parameter specifies the IP TTL (Time-to-Live) value with which multicast data will be sent. It allows RSVP to send its control messages with the same TTL scope as the data packets.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014