Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX - |
Contents
Index
![]() ![]() |
Part 1 The Basic for Developing Application | > Chapter 7 Shunsaku File | > 7.2 Methods Used to Access Shunsaku File | > 7.2.1 Per-connection Specification |
In this method, the Shunsaku File name is specified in a parameter of the ShunConnect function.
ShunConnect(connection handle, host name, port number, Shunsaku File name); |
Specifies the connection handle to be used when establishing the connection.
Specifies the host name or IP address of the connection destination.
Specifies the port number of the connection destination.
Specifies the Shunsaku File name of the connection destination.
When the host name is "DirSvr1", the port number is "33101" and the Shunsaku File name is "fileA"
SHUNHANDLE ConH; /* Allocate connection handle */ ShunAllocHandle(NULL, &ConH) /* Specify host name, port number and Shunsaku File name and */ /* establish the connection */ ShunConnect(ConH, "DirSvr1",33101, "fileA"); |
Contents
Index
![]() ![]() |