The ITP/Server distribution contains the sock_api.dll with a TCP/IP API for the Microsoft Windows platform. You can use this library to send requests to a TCP/IP interface. A separate DLL sock_api64.dll is provided for 64-bit applications.
The TCP/IP API provides the following functions for submitting requests: SSubmitJob, SSubmitJobMsg, SSubmitJobEx4, and SSubmitJobEx5.
SSubmitJob is simplest to use, but supports only basic functionality. The SSubmitJobEx4 and SSubmitJobEx5 APIs, described later in this section, supports the SendFile, ReceiveFile and ConvertCodepage commands on the Microsoft Windows platform.
For use in single-threaded Microsoft Windows GUI applications, the API function SSubmitJobMsg is provided. This function provides equivalent functionality to SSubmitJob, but performs the job submission in a separate thread, sending back job completion messages to a controlling window.