9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Re: multi-ether
@ 1998-12-22 15:22 G.David
  0 siblings, 0 replies; only message in thread
From: G.David @ 1998-12-22 15:22 UTC (permalink / raw)


aux/listen announces net!*!port (and net!*!* also) so
will accept a call on any interface on the system.
Look at cmd/aux/listen.c, libc/port/announce.c,
9/port/devip.c and you will find there is no way to
restrict the announce to a particular interface.

If you don't want to accept a call from a particular
interface, write into your server the announce/listen
for the port and before you accept(), check local.  If
you don't want to accept(), call reject().  (see dial(2)).




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

only message in thread, other threads:[~1998-12-22 15:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-12-22 15:22 [9fans] Re: multi-ether G.David

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