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 specify the host name and port number directly.
When the host name is"DirSvr1"and the port number is "33101"
SHUNHCON ConH; /* Allocate connection handle */ ShunAllocHandle(NULL, &ConH); /* Specify the host name and port number to establish the connection */ ShunConnect(ConH, "DirSvr1", 33101, NULL); |
Contents
Index
![]() ![]() |