From mboxrd@z Thu Jan 1 00:00:00 1970 From: quanstro@labs.coraid.com (erik quanstrom) Date: Fri, 18 Mar 2011 19:39:10 -0400 Subject: [9fans] new dial, cs and dns for ipv6 In-Reply-To: References: Message-ID: Topicbox-Message-UUID: bcf4795a-ead6-11e9-9d60-3106f5b1d025 On Fri Mar 18 19:23:13 EDT 2011, cinap_lenrek at gmx.de wrote: > theres a first attempt of a parallel dial implementation that doesnt > need shared memory to coordinate the the spawning: > > /n/sources/contrib/cinap_lenrek/dial.c > > it will run at maximum Maxconcurr connects in parallel at a time > until there are no more addresses to connect to left, a connection > is established or it got interrupted. > > if there is only one address, it will not fork and do synchronous > connect. > > its not more complicated than the shared memory version in my opinion > and will work with libthread programs without any tricks. is the new dial+cs+dns deterministic? that is, say that you can connect to a host via a variety of protcols, do you always pick the same one? or does that just depend on who answers first? - erik