Writing Custom Programs

The IBM Connect:Direct Application Programming Interface (API) allows you to write custom programs in either C or C++ to use with IBM® Connect:Direct®. With the C functions or the C++ classes, you can create programs to perform the following tasks:

  • Establish a connection to the IBM Connect:Direct server
  • Disconnect from the server
  • Receive command responses from the server
  • Send commands to the server

This topic describes the format of the IBM Connect:Direct API functions and classes and provides samples of their use. Sample programs are provided that use the IBM Connect:Direct API functions and classes to issue commands and receive responses from the IBM Connect:Direct server.