Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

C/C++ API Documentation | 2025.1

# ServerHelperApi::SetPort(const char*)

Sets the server connection information.

Virtual? | No |
Class | `ServerHelperApi` |
Arguments | `const char *port` | the hostname and port to connect to
Returns | `void` |

## Notes

Sets the hostname and port that will be connected to. It should be of the form 'hostname:port' such as 'helix.perforce.com:1666'.

Your search for returned results