unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* doco socket
@ 2003-08-25 22:01 Kevin Ryde
  0 siblings, 0 replies; only message in thread
From: Kevin Ryde @ 2003-08-25 22:01 UTC (permalink / raw)


        * posix.texi (Network Sockets and Communication): In socket, use
        @defvar for protocol variables, cross reference for getprotobyname,
        note it's usually connect and accept that establishes communication.

 - Scheme Procedure: socket family style proto
 - C Function: scm_socket (family, style, proto)
     Return a new socket port of the type specified by FAMILY, STYLE
     and PROTO.  All three parameters are integers.  The possible
     values for FAMILY are as follows, where supported by the system

      - Variable: PF_UNIX
      - Variable: PF_INET
      - Variable: PF_INET6

     The possible values for STYLE are as follows, again where
     supported by the system,

      - Variable: SOCK_STREAM
      - Variable: SOCK_DGRAM
      - Variable: SOCK_RAW

     PROTO can be obtained from a protocol name using `getprotobyname'
     (*note Network Databases::).  A value of zero specifies the
     default protocol, which is usually right.

     A socket cannot by used for communication until it has been
     connected somewhere, usually with either `connect' or `accept'
     below.


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-25 22:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-25 22:01 doco socket Kevin Ryde

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).