linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* INADDR_ANY
@ 2003-07-15 12:07 Lejanson Go
  2003-07-15 14:36 ` INADDR_ANY Glynn Clements
  0 siblings, 1 reply; 2+ messages in thread
From: Lejanson Go @ 2003-07-15 12:07 UTC (permalink / raw)
  To: linux-c-programming


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-15 14:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-15 12:07 INADDR_ANY Lejanson Go
2003-07-15 14:36 ` INADDR_ANY Glynn Clements

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).