9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: ish <ishwar.rattan@gmail.com>
To: 9fans@9fans.net
Subject: Re: [9fans] UDP echo server sample code
Date: Mon, 31 Jan 2011 17:45:08 +0000	[thread overview]
Message-ID: <2c5c6270-b9f9-4e01-8a3f-902d047eddff@d11g2000yql.googlegroups.com> (raw)
In-Reply-To: <94428b1d-840a-4c0d-9954-035558591826@l22g2000pre.googlegroups.com>

On Jan 31, 12:28 pm, al...@pbrane.org (Anthony Martin) wrote:
> Lucio De Re <lu...@proxima.alt.za> once said:
>
> > On Mon, Jan 31, 2011 at 09:45:44AM +0000, ish wrote:
>
> > >    afd = announce("udp!*!1234", adir);
>
> > >    and??
> > > ...
> > while (read (afd, ...) > 0) {
> >    write (afd, ...);
> > }
>
> > ... sort of thing?
>
> This works if you write "headers" to the control
> file after the announce.

Is adir/ctl the control file?

-ishwar

 Otherwise, you still need
> to do the listen and accept. See ip(3) for more.
>
>   Anthony



      parent reply	other threads:[~2011-01-31 17:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-31  9:45 ish
2011-01-31 10:15 ` Lucio De Re
2011-01-31 17:23   ` Anthony Martin
2011-01-31 17:45 ` ish [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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2c5c6270-b9f9-4e01-8a3f-902d047eddff@d11g2000yql.googlegroups.com \
    --to=ishwar.rattan@gmail.com \
    --cc=9fans@9fans.net \
    /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 NNTP newsgroup(s).