From: Kevin Ryde <user42@zip.com.au>
Subject: doco socketpair
Date: Tue, 26 Aug 2003 08:02:27 +1000 [thread overview]
Message-ID: <87he45cs5o.fsf@zip.com.au> (raw)
* posix.texi (Network Sockets and Communication): In socketpair,
clarify the return is a pair with ports in car and cdr, note
connection is full duplex, refer to `socket' for parameters, refer
to PF_UNIX rather than AF_UNIX.
The glibc manual has AF_LOCAL (the same as AF_UNIX) in its description
of socketpair, but if I understand this stuff it's PF_UNIX (or
PF_LOCAL) which is correct for a protocol namespace (as opposed to an
address format). I guess the two are the same value anyway, so it
doesn't matter.
- Scheme Procedure: socketpair family style proto
- C Function: scm_socketpair (family, style, proto)
Return a pair, the `car' and `cdr' of which are two unnamed socket
ports connected to each other. The connection is full-duplex, so
data can be transferred in either direction between the two.
FAMILY, STYLE and PROTO are as per `socket' above. But many
systems only support socket pairs in the `PF_UNIX' family. Zero
is likely to be the only meaningful value for PROTO.
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
reply other threads:[~2003-08-25 22:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87he45cs5o.fsf@zip.com.au \
--to=user42@zip.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).