1lxi_connect(3) C Library Functions lxi_connect(3)
2
3
4
6 lxi_connect - connect to LXI device
7
8
10 #include <lxi.h>
11
12 int lxi_connect(char *address, int port, char *name, int timeout,
13 lxi_protocol_t protocol);
14
15
17 The lxi_connect() function connects to a LXI device with name at IP ad‐
18 dress 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
34 Upon successful completion lxi_connect() returns a new connection han‐
35 dle, or LXI_ERROR if an error occurred.
36
37
39 lxi_send(3), lxi_receive(3), lxi_disconnect(3),
40
41
42
43liblxi 1.20 2022-09-28 lxi_connect(3)