Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to email@example.com.
On Thu, 28 Feb 2002 14:27:37 +0000 (UTC), "Anthony Williams" <anthwil at nortelnetworks.com> wrote: >Note that the MSDN docs say that getaddrinfo could return a socktype of 0, >which means "accepts any socket type", so you really ought to handle this in >common.c, to choose a socket type in such cases. > It can, but the input in the hint parameter should limit the output parameter. Since I specifically request data for a SOCK_STREAM socket via hints it'll always return this as output (so reading it out of the returned addrinfo struct is probably redundant). Tony _______________________________________________ Cvsnt mailing list Cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs