lxi_connect(3)
β¨ NAME β¨
lxi_connect β bestie, this is the one that connects you to an LXI device. it's giving "let me in" π
π SYNOPSIS π
#include <lxi.h>
int lxi_connect(char *address, int port, char *name, int timeout,
lxi_protocol_t protocol);
π¦ DESCRIPTION π¦
okay so lxi_connect() connects to a LXI device. the device's name is name, and it lives at the IP address that address points to. no cap, that's the whole vibe. πΈ
if name is NULL, then it just defaults to the name "inst0" β she's the main character, she's the default. periodt. π
protocol is either VXI11 or RAW. two icons, pick your fighter. π«Ά
if protocol is RAW then port gets used as the destination port. so like, that's where it's headed. π«
and timeout? that's in milliseconds. yes bestie, ms. not seconds. don't do the thing. π
π RETURN VALUE π
if everything slays, lxi_connect() returns a brand new connection handle. if something went wrong, you get LXI_ERROR instead. that's it, that's the deal. π
π SEE ALSO π
and that's the whole page bestie π§ this was liblxi 1.22, dated 2024-11-08 β it came from the C Library Functions section and it's lowkey iconic. go forth and connect. π
π¦ where this page comes from
- debian trixie: liblxi-dev 1.22-1 Β· BSD-3
- epel 10: liblxi-devel 1.22-1.el10_0 Β· BSD-3-Clause AND EPICS
- epel 9: liblxi-devel 1.22-1.el9 Β· BSD-3-Clause AND EPICS
- fedora 43: liblxi-devel 1.22-3.fc43 Β· BSD-3-Clause AND EPICS
- fedora 43: liblxi-devel 1.22-3.fc43 Β· BSD-3-Clause AND EPICS
- fedora 44: liblxi-devel 1.22-4.fc44 Β· BSD-3-Clause AND EPICS
- fedora 44: liblxi-devel 1.22-4.fc44 Β· BSD-3-Clause AND EPICS
- nixos 26.05: liblxi 1.22
- nixpkgs unstable: liblxi 1.22
- ubuntu questing: liblxi-dev 1.22-1build1
- ubuntu resolute: liblxi-dev 1.22-1build2 Β· BSD-3
- ubuntu stonking: liblxi-dev 1.22-1build2 Β· BSD-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms