[Cvsnt] cvsnt Linux version

Tony Hoyle tmh at nothing-on.tv
Thu Feb 28 14:47:27 GMT 2002


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.


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



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook