v3_login()
int v3_login(char *server, char *username, char *password, char *phonetic);
Connect to a ventrilo server and send login information.
Arguments
| Type | Description |
| char *server | A string containing the server and port information in the format of "servername:port". If servername is no a valid IP address, it will be resolved using the system's resolver. |
| char *username | The username to supply to the server |
| char *password | The password to provide to the server. For no password, use an empty string (i.e. "", not NULL) |
| char *phonetic | The phonetic (pronunciation) to provide to the server. For no phonetic, use an empty string (i.e. "", not NULL) |
Returns
Returns 1 on successful login or 0 on failure. Error messages can be retreived using the v3_error() function.
