Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2001 20:09:43 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Bill Paul <wpaul@FreeBSD.ORG>
Cc:        current@FreeBSD.ORG
Subject:   Re: Fixing ypbind with TI-RPC
Message-ID:  <20010326200943.N9431@fw.wintelcom.net>
In-Reply-To: <20010326195710.M9431@fw.wintelcom.net>; from bright@wintelcom.net on Mon, Mar 26, 2001 at 07:57:10PM -0800
References:  <20010327000456.6B15D37B71A@hub.freebsd.org> <20010326195710.M9431@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Alfred Perlstein <bright@wintelcom.net> [010326 19:57] wrote:
> * Bill Paul <wpaul@FreeBSD.ORG> [010326 16:05] wrote:
> 
> Why can't you just enable sigio on the reply socket, send all the
> requests with a 0 timeout and then wait for a signal to either
> interrupt the sending or to notify you when you complete sending?
> 
> Your solution seems awfully complex for what seems to be a simple
> problem; doing a directed broadcast and taking the first answer you
> get back.
> 
> Is the whole reason you need to do this because you're using the
> xid to differentiate between the servers?

If that's true then you have a couple of options...

We could add a hack to our version of the rpc library to
allow manipulation/query of the xid.  Or if the reply's source
doesn't match any of the destinations you can remember it and
send out another ping to that address.

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
Instead of asking why a piece of software is using "1970s technology,"
start asking why software is ignoring 30 years of accumulated wisdom.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010326200943.N9431>