mysql_net_read_packet

Syntax

#include <mysql.h>

ulong 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.

This function is part of the low level protocol API.

See also

Last updated

Was this helpful?