Advantage or disadvantage of using INADDR_ANY, Computer Engineering

What is the advantage or disadvantage of using INADDR_ANY instead of the IP address of the computer running on the server?

The format of TCP/IP, structure sockaddr_in defines uses to show an address. Structure have field for an IP address and for a protocol port number. Even though a server can choose to fill in the IP address while specifying an IP address, doing that causes problems while a host is multihomed since it implies the server only accepts requests that sent to one exact address. To permit a server to operate on a multi-homed host, the socket API contains a special symbolic constant, INADDR_ANY which allows a server to use an exact port at any of the computer's IP address.

Posted Date: 5/10/2013 6:06:43 AM | Location : United States

Related Discussions:- Advantage or disadvantage of using INADDR_ANY, Assignment Help, Ask Question on Advantage or disadvantage of using INADDR_ANY, Get Answer, Expert's Help, Advantage or disadvantage of using INADDR_ANY Discussions

Write discussion on Advantage or disadvantage of using INADDR_ANY
Your posts are moderated
Related Questions
Write an algorithm for deadlock detection. An algorithm for deadlock detection: 1. Assume that Work and Finish be vectors of length m and n, correspondingly. Initialize:

What are the difference between heap and stack? The Stack is more or less responsible for maintaining track of what's executing into our code or what's been "called". The Heap

Unification - Artificial intelligence: We have said that the laws of inference for propositional logic detailed in the previous lecture can also be used in first-order logic.

Q. What is typical storage hierarchy? A typical storage hierarchy is displayed in Figure above. Though Figure shows only block diagram however it includes storage hierarchy:

What is called static and dynamic branch prediction? The branch prediction decision is always the similar every time a given instruction is implemented. Any approach that has t

What do you understand by WWW? WWW (World Wide Web): It is an architectural framework for accessing linked documents outspread over thousands of machines the whole world.

Diagnosis: Medical diagnosis program bases on probabilistic analysis have been able to perform at the level of an expert physician tin several areas of medicine. Heckerman(1981)

Optical disk becomes an attractive alternative for backing up information from hard disk drives and employs large text, audio and video data. Advent of CD-ROM-R and DVD-ROM-R has b

What is dynpro?What are its components ? A dynpro (Dynamic Program) having of a screen and its flow logic and controls exactly single dialog steps. The dissimilar components

Q. Explain how does CPU perform Read and Write operation on peripheral device taking suitable example in case of Asynchronous Technique. Differentiate Memory mapped and Isolated