On Thu, Mar 1, 2012 at 1:32 PM, Michael Thomas <m...@mtcc.com> wrote: > On 03/01/2012 08:58 AM, William Herrin wrote: >> libc != kernel. I want to move the action into the standard libraries >> where [resolve and connect] can be done once and done well. >> A little kernel action on top >> to parallelize connection attempts where there are multiple candidate >> addresses would be gravy, but not required. > > connect(2) is a kernel level call just like open(2), etc. It may > have a thin wrapper, but that's OS dependent, IIRC. > > man connect 2: > > "The connect() system call connects the socket referred to by the file > descriptor..."
Then name the new one something else and document it in man section 3. Next objection? -Bill -- William D. Herrin ................ her...@dirtside.comĀ b...@herrin.us 3005 Crane Dr. ...................... Web: <http://bill.herrin.us/> Falls Church, VA 22042-3004