libixp

git clone git://oldgit.suckless.org/libixp/
Log | Files | Refs | LICENSE

ixp_dial.3 (820B)


      1 .TH "IXP_DIAL" 3 "2010 Jun" "libixp Manual"
      2 
      3 .SH NAME
      4 .P
      5 ixp_dial, ixp_announce
      6 
      7 .SH SYNOPSIS
      8 .nf
      9   #include <ixp.h>
     10   
     11   int ixp_dial(const char *address);
     12   
     13   int ixp_announce(const char *address);
     14 .fi
     15 
     16 .SH PARAMETERS
     17 .TP
     18 address
     19 An address on which to connect or listen,
     20 specified in the Plan 9 resources
     21 specification format
     22 (<protocol>!address\fI[!<port>]\fR)
     23 
     24 .SH DESCRIPTION
     25 .P
     26 These functions hide some of the ugliness of Berkely
     27 Sockets. ixp_dial connects to the resource at IaddressR,
     28 while ixp_announce begins listening on IaddressR.
     29 
     30 .SH RETURN VALUE
     31 .P
     32 These functions return file descriptors on success, and \-1
     33 on failure. ixp_errbuf(3) may be inspected on failure.
     34 
     35 .SH SEE ALSO
     36 .P
     37 socket(2)
     38 
     39 
     40 .\" man code generated by txt2tags 2.5 (http://txt2tags.sf.net)
     41 .\" cmdline: txt2tags -o- ixp_dial.man3
     42