dbsendpassthru

Description

Send a TDS packet to a server.

Syntax

RETCODE dbsendpassthru(dbproc, send_bufp)
 
 DBPROCESS     *dbproc;
 DBVOIDPTR       send_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.

send_bufp

A pointer to a buffer containing the TDS packet to be sent to the server. A packet has a default size of 512 bytes. This size may be changed using DBSETLPACKET.

Returns

DB_PASSTHRU_MORE, DB_PASSTHRU_EOM, or FAIL.

Usage

See also

dbrecvpassthru