Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX - |
Contents
Index
![]() ![]() |
Part 2 Developing Applications by APIs | > Chapter 11 Developing C Applications | > 11.2 How to Use C APIs | > 11.2.1 Establishing a Connection |
This section explains how to establish a connection by making settings in the API environment file.
SHUNHCON ConH; /* Allocate connection handle */ ShunAllocHandle(NULL, &ConH); /* Specify the host name and port number in the API environment file to establish the connection */ ShunConnect(ConH, NULL, 0, NULL); |
Refer to 2.4 Setting Up Environment Files or Appendix A Execution Parameters in API Environment Files for more information on the API environment file.
Contents
Index
![]() ![]() |