If you intend for your gateway application to handle either type of bulk request, you must code the SRV_LANGUAGE event handler to parse for the phrase “insert bulk” or “writetext bulk.” These phrases indicate the following:
The phrase “insert bulk” indicates the initiation of a bulk-copy request; the request handling will be started in the language handler and finished in the SRV_BULK handler.
The phrase “writetext bulk” indicates that the client will issue a stream of text or image bytes to be handled in the SRV_BULK event handler.