[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 01190) Re: about usagi's SO_REUSEADDR



boz u know, under normal linux we can use SO_REUSEADDR, so a lot of client/server application used this feature.
Now our project group is using a real time software called RAT, it use SO_REUSEADDR. But it can not run under USAGI, this is why I want to ask that.


regards,
zhimin


From: YOSHIFUJI Hideaki / ?g?¡?p?¾ <yoshfuji@xxxxxxxxxxxxxx>
Reply-To: usagi-users@xxxxxxxxxxxxxx
To: usagi-users@xxxxxxxxxxxxxx, sl_78@xxxxxxxxxxx
Subject: (usagi-users 01189) Re: about usagi's SO_REUSEADDR
Date: Sat, 19 Jan 2002 21:47:49 +0900
MIME-Version: 1.0
Received: from [203.178.142.218] by hotmail.com (3.2) with ESMTP id MHotMailBE12B6ED0042400437A1CBB28EDA05700; Sat, 19 Jan 2002 04:51:58 -0800
Received: from nezu.linux-ipv6.org (localhost [127.0.0.1])by linux6.nezu.wide.ad.jp (8.12.1/8.12.1/Debian -5) with ESMTP id g0JClmIM023314;Sat, 19 Jan 2002 21:47:48 +0900
Received: from yue.hongo.wide.ad.jp (root@xxxxxxxxxxxxxxxxxxxx [203.178.139.94])by linux6.nezu.wide.ad.jp (8.12.1/8.12.1/Debian -5) with ESMTP id g0JClfIM023309for <usagi-users@xxxxxxxxxxxxxx>; Sat, 19 Jan 2002 21:47:42 +0900
Received: from localhost (yoshfuji@localhost [127.0.0.1])by yue.hongo.wide.ad.jp (8.9.3+3.2W/8.9.3/Debian 8.9.3-21) with ESMTP id VAA13831;Sat, 19 Jan 2002 21:47:49 +0900
From usagi-users-admin@xxxxxxxxxxxxxx Sat, 19 Jan 2002 04:52:49 -0800
Sender: "Hideaki YOSHIFUJI" <yoshfuji@xxxxxxxxxxxxxxxxxxxxxxxxx>
Message-Id: <20020119214749S.yoshfuji@xxxxxxxxxxxxxx>
In-Reply-To: <F14FfHg8WCe2IoIT3PA0000a714@xxxxxxxxxxx>
References: <F14FfHg8WCe2IoIT3PA0000a714@xxxxxxxxxxx>
X-ML-Name: usagi-users
X-Mail-Count: 01189
X-MLServer: fml [fml 4.0.3 release (20011202/4.0.3)]; post only (anyone can post)
X-ML-Info: If you have a question, send e-mail with the body"help" (without quotes) to the address usagi-users-ctl@xxxxxxxxxxxxxx;help=<mailto:usagi-users-ctl@xxxxxxxxxxxxxx?body=help>
X-Mailer: Mew version 1.94.2 on Emacs 20.7 / Mule 4.1 (AOI)
X-Dispatcher: imput version 991025(IM133)
X-URL: http://www.yoshifuji.org/%7Ehideaki/
X-Fingerprint: 90 22 65 EB 1E CF 3A D1 0B DF 80 D8 48 07 F8 94 E0 62 0E EA
X-PGP-Key-URL: http://www.yoshifuji.org/%7Ehideaki/hideaki@xxxxxxxxxxxxxxxxx
Precedence: bulk
Lines: 15
List-Id: usagi-users.linux-ipv6.org
List-Software: fml [fml 4.0.3 release (20011202/4.0.3)]
List-Post: <mailto:usagi-users@xxxxxxxxxxxxxx>
List-Owner: <mailto:usagi-users-admin@xxxxxxxxxxxxxx>
List-Help: <mailto:usagi-users-ctl@xxxxxxxxxxxxxx?body=help>
List-Unsubscribe: <mailto:usagi-users-ctl@xxxxxxxxxxxxxx?body=unsubscribe>


In article <F14FfHg8WCe2IoIT3PA0000a714@xxxxxxxxxxx> (at Sat, 19 Jan 2002 12:17:46 +0000), "liu suifeng" <sl_78@xxxxxxxxxxx> says:

> so it is imposiable for me to use the SO_REUSEADDR for unicast address?
> Actually I change some code in the kernel, seem like it works(SO_REUSEADDR
> for unicast).


You can unless their (local address, local port, remote addres, remote port)
sets are the same.


Could you tell us your case and usage?

We believe it is theoriticaly WRONG to use SO_REUSEADDR if their sets
are the same.  Don't "fix" the kernel but our code / logic.

--yoshfuji





_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com