Standards / Extensions | C or C++ | Dependencies |
---|---|---|
RCF2292 | both | z/OS V1R4 |
#define _OPEN_SYS_SOCK_IPV6
#include <rexec.h>
int rexec_af(char **ahost, unsigned short rport,
const char *name, const char *pass, const char *cmd,
int *fd2p, int af);
The rexec_af() function behaves the same as the rexec() function. Instead of creating an AF_INET socket, rexec_af can also create an AF_INET6 socket. The af argument specifies the address family. It is set to either AF_INET or AF_INET6.