IXP_DIAL(3)

πŸ“¦ version 0-unstable-2022-04, in nixos 26.05, nixpkgs unstable

okay so bestie, welcome to the libixp Library Functions Manual page for ixp_dial and ixp_announce β€” that's IXP_DIAL(3) β€” and it's lowkey tiny but highkey important βœ¨πŸ’…

🌸 NAME 🌸

  • ixp_dial
  • ixp_announce

✨ SYNOPSIS ✨

#include <ixp.h>

int ixp_dial(const char *address);

int ixp_announce(const char *address);

πŸŽ€ PARAMETERS πŸŽ€

  • address β€” an address on which to connect or listen, specified in the Plan 9 resources specification format: (<protocol>!address[!<port>]). That's the whole parameter vibe, fr fr πŸ¦‹

πŸ’– DESCRIPTION πŸ’–

okay so these functions hide some of the ugliness of Berkely Sockets β€” no cap, that's literally their job. ixp_dial connects to the resource at address, while ixp_announce begins listening on address. Slay πŸ’…

🫢 RETURN VALUE 🫢

These functions return file descriptors on success, and -1 on failure. On failure, ixp_errbuf(3) may be inspected. Periodt. πŸ’–

🌈 SEE ALSO 🌈


mwah πŸ’‹ β€” source/version: libixp Manual, date: 2012 Dec, page: IXP_DIAL(3) 🌸

πŸ“¦ where this page comes from