mysql_net_read_packet
Syntax
#include <mysql.h>
unsigned long mysql_net_read_packet(MYSQL *mysql)Parameter
Parameter
Description
mysql
A connection handle previously allocated by mysql_init() and connected by mysql_real_connect().
Description
mysql_net_read_packet reads the next protocol packet from the server into the connection's internal network buffer.
Return Value
Returns the length of the received packet.
See also
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?

