DBSETLPACKET

Description

Set the TDS packet size in an application’s LOGINREC structure.

Syntax

RETCODE DBSETLPACKET(login, packet_size)
 
LOGINREC      *login;
short                packet_size;

Parameters

login

A pointer to the LOGINREC structure to be passed as an argument to dbopen when logging in to the server. An application can obtain a LOGINREC structure using dblogin.

packet_size

The packet size being requested, in bytes. The server will set the actual packet size to a value less than or equal to this requested size.

Returns

SUCCEED or FAIL.

Usage

See also

dblogin, dbopen, dbgetpacket