lxi_connect(3)

lxi_connect3

Connect to lxi device

Usage

#include <lxi.h>

int lxi_connect(char *address, int port, char *name, int timeout, lxi_protocol_t protocol);

Overview

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.

Return value

Upon successful completion lxi_connect() returns a new connection handle, or LXI_ERROR if an error occurred.

Releases

4 releases since Debian 10 (Buster); the text changed 2 times.

  1. 10–11
  2. 12
  3. 13

From liblxi-dev 1.22-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.