"Tony Hoyle" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED].; > On Thu, 28 Feb 2002 13:04:50 +0000 (UTC), "Anthony Williams" > <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
