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: [9fans] UDP echo server sample code
Date: Mon, 31 Jan 2011 09:45:44 +0000	[thread overview]
Message-ID: <94428b1d-840a-4c0d-9954-035558591826@l22g2000pre.googlegroups.com> (raw)

Can any one enlighten me on how announce() etc. can be used design an
echo server with UDP,
or point to samle code?
...
   char adir[40];
   int afd ;

   afd = announce("udp!*!1234", adir);

   and??
...

-ishwar



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

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

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=94428b1d-840a-4c0d-9954-035558591826@l22g2000pre.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).