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 sales@march-hare.com.
"Tony Hoyle" <tmh at nothing-on.tv> wrote in message news:3c7e3bad.85495953 at tony-home... > On Thu, 28 Feb 2002 13:04:50 +0000 (UTC), "Anthony Williams" > <anthwil at nortelnetworks.com> wrote: > > >The problem appears to be that tcp_addrinfo->ai_socktype is 0, whereas e.g. > >SOCK_STREAM is 2. > > > Hmm.. the fake-getaddrinfo wasn't initialising that part of the > structure. I think it should work now - the rest of the tcp stuff is > just standard send/recv calls. 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. Anyway, I will try your update. Anthony -- Anthony Williams Software Engineer, Nortel Networks Optical Components Ltd The opinions expressed in this message are not necessarily those of my employer _______________________________________________ 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