You are here : Cmysql/mysql.hmysql_get_proto_info

mysql_get_proto_info() - mysql/mysql.h

 Returns the protocol version used by current connection.


Syntax

unsigned int mysql_get_proto_info(MYSQL
        *mysql)


Example

 


Output / Return Value

 An unsigned integer representing the protocol version used by
        the current connection.


Limitations


Alternatives / See Also


Reference