lxi_connect - connect to LXI device
Contents
Description
The lxi_connect() function connects to a LXI device with name at IP address pointed to by address
If name is NULL then the default name "inst0" will be used.
protocol is either VXI11 or RAW.
If protocol is RAW then port will be used as destination port.
The timeout is in milliseconds.
Name
lxi_connect - connect to LXI device
Return Value
Upon successful completion lxi_connect() returns a new connection handle, or LXI_ERROR if an error
occurred.
See Also
lxi_send(3), lxi_receive(3), lxi_disconnect(3), liblxi 1.22 2024-11-08 lxi_connect(3)
Synopsis
#include<lxi.h>intlxi_connect(char*address,intport,char*name,inttimeout,lxi_protocol_tprotocol);
