unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Alex Sassmannshausen <alex.sassmannshausen@gmail.com>
To: ludo@gnu.org (Ludovic Courtès)
Cc: guile-user@gnu.org
Subject: Re: Unix Domain Sockets and (write) (read)
Date: Tue, 16 Jul 2013 19:17:26 +0200	[thread overview]
Message-ID: <877ggqbf15.fsf@honeybear.home> (raw)
In-Reply-To: <87hag9ry68.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 05 Jul 2013 14:25:35 +0200")

ludo@gnu.org (Ludovic Courtès) writes:

Hello,

> Hi,
>
> Alex Sassmannshausen <alex.sassmannshausen@gmail.com> skribis:
>
>> I'm thinking of writing a summary of my attempts as a novice in socket
>> communications with an example of Unix domain sockets in action. Do
>> people think that something like that might also be a useful addition to
>> the network chapter in Guile's manual? Or is the Examples section kept
>> quite brief on purpose?
>
> It’s always useful to have more introductory material.
>
> My (biased) viewpoint is that the “Network Socket Examples” section has
> the important thing because after all, changing these examples to use
> Unix-domain sockets instead of TCP should be a simple exercise for the
> reader.  ;-)

I agree on this bit — I found it a useful exercise myself.

> What would you add to that section?

Maybe it's not quite this section, but in the section relating to
read/write scheme objects (6.17 Reading and Evaluating Scheme Code), if
the solution to my original problem is indeed resolved by Aleix's
suggestions to use (force-output) on the socket to enable two way
communication.

Maybe a sub-section in that chapter containing examples of read/write,
in a similar fashion to the examples in the sockets chapter?

> The glibc manual has additional examples to datagram sockets, among
> other things.  Perhaps that should be an inspiration?

I will have a look at that manual and see what I can come up with — in
time :-)

Best wishes,

Alex

>
> Thanks,
> Ludo’.



      reply	other threads:[~2013-07-16 17:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-02 22:31 Unix Domain Sockets and (write) (read) Alex Sassmannshausen
2013-07-02 22:57 ` Aleix Conchillo Flaqué
2013-07-04 22:05   ` Alex Sassmannshausen
2013-07-05 12:25     ` Ludovic Courtès
2013-07-16 17:17       ` Alex Sassmannshausen [this message]

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=877ggqbf15.fsf@honeybear.home \
    --to=alex.sassmannshausen@gmail.com \
    --cc=guile-user@gnu.org \
    --cc=ludo@gnu.org \
    /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).