![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Execute a command on a remote host (via a SOCKS server)
int Rrcmd( char ** ahost, 
           int inport, 
           const char * locuser, 
           const char * remuser, 
           const char * cmd, 
           int * fd2p );
libsocks
Use the -l socks option to qcc to link against this library.
The Rrcmd() function is a cover function for rcmd() -- the difference is that Rrcmd() does its job via a SOCKS server.
For more information about SOCKS and its libraries, see the appendix, SOCKS -- A Basic Firewall.
A valid socket descriptor; or -1 if an error occurs and a message is printed to standard error.
| Safety: | |
|---|---|
| Cancellation point | No | 
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
Raccept(), Rbind(), rcmd() Rconnect(), Rgetsockname(), Rlisten(), Rselect(), SOCKSinit()
![]()  | 
![]()  | 
![]()  | 
![]()  |