dbrecvpassthru

Description

Receive a TDS packet from a server.

Syntax

RETCODE dbrecvpassthru(dbproc, recv_bufp)
 
DBPROCESS     *dbproc;
DBVOIDPTR       *recv_bufp;

Parameters

dbproc

A pointer to the DBPROCESS structure that provides the connection for a particular front-end/server process. It contains all the information that DB-Library/C uses to manage communications and data between the front end and the server.

recv_bufp

A pointer to a variable that dbrecvpassthru fills with the address of a buffer containing the TDS packet most recently received by this DBPROCESS connection. The application is not responsible for allocating this buffer.

Returns

DB_PASSTHRU_MORE, DB_PASSTHRU_EOM, or FAIL.

Usage

See also

dbsendpassthru