From: Lejanson Go <lejanson@yahoo.com>
To: linux-c-programming@vger.kernel.org
Subject: INADDR_ANY
Date: Tue, 15 Jul 2003 05:07:42 -0700 (PDT) [thread overview]
Message-ID: <20030715120742.94906.qmail@web12403.mail.yahoo.com> (raw)
Hello good day to everyone.
my other email ad is a member of this list but im
just confuse so i use this email ad instead to ask
some questions.
i have a question regarding network programming.
my program connects to a server using INADDR_ANY
as the host address.
does the macro INADDR_ANY points to loopback
interface?
what if the /etc/hosts fileis edited and the value of
localhost is changed to "50.50.50.20" from "127.0.0.1"
is it possible the program will fail? considering that
using 127.0.0.1 as "localhost" ip add the program
functions well.
it puzzles me. since the program was supposed to work.
any help would be very much appreciated.
thanks a lot.
lejanson
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
next reply other threads:[~2003-07-15 12:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-15 12:07 Lejanson Go [this message]
2003-07-15 14:36 ` INADDR_ANY Glynn Clements
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030715120742.94906.qmail@web12403.mail.yahoo.com \
--to=lejanson@yahoo.com \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).