1lxi_connect(3)             Library Functions Manual             lxi_connect(3)
2
3
4

NAME

6       lxi_connect - connect to LXI device
7
8

SYNOPSIS

10       #include <lxi.h>
11
12       int  lxi_connect(char  *address,  int  port,  char  *name, int timeout,
13       lxi_protocol_t protocol);
14
15

DESCRIPTION

17       The lxi_connect() function connects to a LXI device  with  name  at  IP
18       address pointed to by address
19
20
21       If name is NULL then the default name "inst0" will be used.
22
23
24       protocol is either VXI11 or RAW.
25
26
27       If protocol is RAW then port will be used as destination port.
28
29
30       The timeout is in milliseconds.
31
32

RETURN VALUE

34       Upon  successful completion lxi_connect() returns a new connection han‐
35       dle, or LXI_ERROR if an error occurred.
36
37

SEE ALSO

39       lxi_send(3), lxi_receive(3), lxi_disconnect(3),
40
41
42
43                                 October 2017                   lxi_connect(3)
Impressum