B-8
SunLink SNA 9.1 PU2.1 Server Configuration Guide—August 1997
B
lu62_open_req_t open_req;
/* initialize open request to default values */
memset(0, &open_req, sizeof(struct lu62_open_req));
/* connect to local LU LUSP1 */
strcpy(open_req.host, “LUSP1.sna”);
strcpy(open_req.lu_name, “LUSP1”);
if (lu62_open(&open_req) == LU62_ERROR) {
printf("lu62_open error, 0x%x\n", lu62_errno);
exit(1);
}
Similarly, SUNWappc CPI-C programs issue the
Open_LU()
call to connect to a
server and local LU as follows:
Open_LU(“LUSP1.sna”, “LUSP1”, &retcode);
Содержание SunLink SNA 9.1 PU2.1
Страница 14: ...xiv SunLink SNA 9 1 PU2 1 Server Configuration Guide August 1997...
Страница 16: ...xvi SunLink SNA 9 1 PU2 1 Server Configuration Guide August 1997...
Страница 18: ...xviii SunLink SNA 9 1 PU2 1 Server Configuration Guide August 1997...
Страница 26: ...xxvi SunLink SNA 9 1 PU2 1 Server Configuration Guide August 1997...
Страница 48: ...1 22 SunLink SNA 9 1 PU2 1 Server Configuration Guide August 1997 1...
Страница 66: ...2 18 SunLink SNA 9 1 PU2 1 Server Configuration Guide August 1997 2...
Страница 80: ...3 14 SunLink SNA 9 1 PU2 1 Server Configuration Guide August 1997 3...
Страница 110: ...6 12 SunLink SNA 9 1 PU2 1 Server Configuration Guide August 1997 6...
Страница 120: ...7 10 SunLink SNA 9 1 PU2 1 Server Configuration Guide August 1997 7...
Страница 132: ...8 12 SunLink SNA 9 1 PU2 1 Server Configuration Guide August 1997 8...
Страница 226: ...A 10 SunLink SNA 9 1 PU2 1 Server Configuration Guide August 1997 A...
Страница 282: ...F 16 SunLink SNA 9 1 PU2 1 Server Configuration Guide August 1997 F...
Страница 288: ...G 6 SunLink SNA 9 1 PU2 1 Server Configuration Guide August 1997 G...