Subject: RE: bind(2) ordering constraint

From: "Dave Thaler" <[email-masked]>
Date: Thu, 3 Aug 2000 08:20:26 -0700

Platform: Windows
Version: 2000
Comment: Output is identical to Itojun's netbsd output, except in
         two cases where multiple error codes apply and Windows
         chooses to generate a different one.

starting tests, socktype = SOCK_DGRAM
wild4 then wild4
	bind socket for 0.0.0.0/9999
	bind socket for 0.0.0.0/9999
	failed bind for 0.0.0.0/9999, Address already in use
wild4 then wild6
	bind socket for 0.0.0.0/9999
	bind socket for ::/9999
wild4 then loop4
	bind socket for 0.0.0.0/9999
	bind socket for 127.0.0.1/9999
	failed bind for 127.0.0.1/9999, Address already in use
wild4 then loop6
	bind socket for 0.0.0.0/9999
	bind socket for ::1/9999
wild4 then one4
	bind socket for 0.0.0.0/9999
	bind socket for 0.0.0.1/9999
	failed bind for 0.0.0.1/9999, Address already in use
wild4 then map4
	bind socket for 0.0.0.0/9999
	bind socket for ::ffff:127.0.0.1/9999
	failed bind for ::ffff:127.0.0.1/9999, Can't assign requested
address
wild6 then wild4
	bind socket for ::/9999
	bind socket for 0.0.0.0/9999
wild6 then wild6
	bind socket for ::/9999
	bind socket for ::/9999
	failed bind for ::/9999, Address already in use
wild6 then loop4
	bind socket for ::/9999
	bind socket for 127.0.0.1/9999
wild6 then loop6
	bind socket for ::/9999
	bind socket for ::1/9999
	failed bind for ::1/9999, Address already in use
wild6 then one4
	bind socket for ::/9999
	bind socket for 0.0.0.1/9999
	failed bind for 0.0.0.1/9999, Can't assign requested address
wild6 then map4
	bind socket for ::/9999
	bind socket for ::ffff:127.0.0.1/9999
	failed bind for ::ffff:127.0.0.1/9999, Address already in use
loop4 then wild4
	bind socket for 127.0.0.1/9999
	bind socket for 0.0.0.0/9999
	failed bind for 0.0.0.0/9999, Address already in use
loop4 then wild6
	bind socket for 127.0.0.1/9999
	bind socket for ::/9999
loop4 then loop4
	bind socket for 127.0.0.1/9999
	bind socket for 127.0.0.1/9999
	failed bind for 127.0.0.1/9999, Address already in use
loop4 then loop6
	bind socket for 127.0.0.1/9999
	bind socket for ::1/9999
loop4 then one4
	bind socket for 127.0.0.1/9999
	bind socket for 0.0.0.1/9999
	failed bind for 0.0.0.1/9999, Can't assign requested address
loop4 then map4
	bind socket for 127.0.0.1/9999
	bind socket for ::ffff:127.0.0.1/9999
	failed bind for ::ffff:127.0.0.1/9999, Can't assign requested
address
loop6 then wild4
	bind socket for ::1/9999
	bind socket for 0.0.0.0/9999
loop6 then wild6
	bind socket for ::1/9999
	bind socket for ::/9999
	failed bind for ::/9999, Address already in use
loop6 then loop4
	bind socket for ::1/9999
	bind socket for 127.0.0.1/9999
loop6 then loop6
	bind socket for ::1/9999
	bind socket for ::1/9999
	failed bind for ::1/9999, Address already in use
loop6 then one4
	bind socket for ::1/9999
	bind socket for 0.0.0.1/9999
	failed bind for 0.0.0.1/9999, Can't assign requested address
loop6 then map4
	bind socket for ::1/9999
	bind socket for ::ffff:127.0.0.1/9999
	failed bind for ::ffff:127.0.0.1/9999, Can't assign requested
address
one4 then wild4
	bind socket for 0.0.0.1/9999
	failed bind for 0.0.0.1/9999, Can't assign requested address
one4 then wild6
	bind socket for 0.0.0.1/9999
	failed bind for 0.0.0.1/9999, Can't assign requested address
one4 then loop4
	bind socket for 0.0.0.1/9999
	failed bind for 0.0.0.1/9999, Can't assign requested address
one4 then loop6
	bind socket for 0.0.0.1/9999
	failed bind for 0.0.0.1/9999, Can't assign requested address
one4 then one4
	bind socket for 0.0.0.1/9999
	failed bind for 0.0.0.1/9999, Can't assign requested address
one4 then map4
	bind socket for 0.0.0.1/9999
	failed bind for 0.0.0.1/9999, Can't assign requested address
map4 then wild4
	bind socket for ::ffff:127.0.0.1/9999
	failed bind for ::ffff:127.0.0.1/9999, Can't assign requested
address
map4 then wild6
	bind socket for ::ffff:127.0.0.1/9999
	failed bind for ::ffff:127.0.0.1/9999, Can't assign requested
address
map4 then loop4
	bind socket for ::ffff:127.0.0.1/9999
	failed bind for ::ffff:127.0.0.1/9999, Can't assign requested
address
map4 then loop6
	bind socket for ::ffff:127.0.0.1/9999
	failed bind for ::ffff:127.0.0.1/9999, Can't assign requested
address
map4 then one4
	bind socket for ::ffff:127.0.0.1/9999
	failed bind for ::ffff:127.0.0.1/9999, Can't assign requested
address
map4 then map4
	bind socket for ::ffff:127.0.0.1/9999
	failed bind for ::ffff:127.0.0.1/9999, Can't assign requested
address

---

From: [email-masked]
Date: Fri, 04 Aug 2000 01:17:56 +0900

>	bind socket for 0.0.0.0/9999

	this one contradicts from what you've told me yesterday...
	maybe i heard you wrong.

itojun
--------------------------------------------------------------------
IETF IPng Working Group Mailing List
IPng Home Page:                      http://playground.sun.com/ipng
FTP archive:                      ftp://playground.sun.com/pub/ipng
Direct all administrative requests to [email-masked]
--------------------------------------------------------------------

---

From: Stig Ven�s <[email-masked]>
Date: Thu, 3 Aug 2000 21:42:23 +0200

> 	this one contradicts from what you've told me yesterday...

Yes, maybe I heard wrong too. Looks like Linux might be the odd one then.
Hope to see results from more implementations.

Stig