Passthrough mode

An Open Server application that is acting as a gateway between an Open Client application and an Adaptive Server can pass TDS packets between client and server without examining their contents. An Open Server that handles TDS packets in this way operates in passthrough mode.

Because the Open Server gateway application does not have to unpack the TDS information as it arrives from the client and repack it before sending it to the Adaptive Server, passthrough mode is very efficient.

There are two types of passthrough mode:

Both types of passthrough modes use the passthrough routines srv_recvpassthru, ct_sendpassthru, ct_recvpassthru, and srv_sendpassthru. The differences are as follows:

DB-Library also provides routines to support passthrough mode. See the Open Client DB-Library/C Reference Manual for details.