gtpc2m8p | C/C++ Language Support User's Guide |
This function moves a virtual IP address (VIPA) to another processor in the same loosely coupled complex.
Format
#include <socket.h> int tpf_vipac(unsigned long *vipa, char *cpu);
Normal Return
A value of 0. This value indicates that the TPF system was able to start moving the VIPA to the specified processor.
Error Return
One of the following values, indicating the respective error:
Programming Considerations
Examples
The following example attempts to move VIPA 9.155.155.155 (0x99B9B9B) to CPU C.
#include <socket.h> int rc unsigned long vipa=0x99B9B9B; char cpu='c'; rc= tpf_vipac(&vipa,&cpu);
Related Information
See TPF Migration Guide: Program Update Tapes, TPF Operations, and TPF Transmission Control Protocol/Internet Protocol for more information about moving VIPAs.