20.4.25 mysql_get_proto_info()

unsigned int mysql_get_proto_info(MYSQL *mysql)

20.4.25.1 Description

Returns the protocol version used by current connection.

20.4.25.2 Return values

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

20.4.25.3 Errors

None.