Re: Re: bind to IPv6 only?

Tim Roberts <[email protected]>
Newsgroups gmane.comp.python.cherrypy
Organization Providenza & Boekelheide, Inc.
Message-ID <[email protected]>
young-kyun Kim wrote:
>
>     How can it possibly work well?  You can bind a TCP server to
>     INADDR_ANY so it listens on all available interfaces, but when you
>     connect as a client, you have to provide a specific IP address. 
>     You are not providing a valid host address.
>
> Also, I agree with your opinon .
> But, I did test many times and the result is same.
> My test script don't raise any exception on my CentOS 7 test machine.

I understand, but that does not mean that it is correct.  There are many
things that violate the contracts but happen to work.  C and C++
programmers know this very well.

You were asking why it didn't work on Windows.  It doesn't work on
Windows because the code is wrong.  The fact that it works on CentOS is
an accident.

-- 
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.

-- 
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.