Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
lxi_connect(3)		   Library Functions Manual		lxi_connect(3)

NAME
       lxi_connect - connect to	LXI device

SYNOPSIS
       #include	<lxi.h>

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

DESCRIPTION
       The lxi_connect() function connects to a	LXI device with	name at	IP ad-
       dress 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 han-
       dle, or LXI_ERROR if an error occurred.

SEE ALSO
       lxi_send(3), lxi_receive(3), lxi_disconnect(3),

				 October 2017			lxi_connect(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=lxi_connect&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help