cation, Presentation, Session, Transport, Network, Data link and Physical. The IP is operated in the Network layer.
I would use the ping command to check whether the machine is still alive(connect to the network) or it is dead.
Straight-through is type of wiring that is one to to one connection Cross- over is type of wiring which those wires are got switched
We use Straight-through cable when we connect between NIC Adapter and Hub. Using Cross-over cable when connect between two NIC Adapters or sometime between two hubs.
Socket and ServerSocket. ServerSocket is used for normal two-way socket communication. Socket class allows us to read and write through the sockets. getInputStream() and getOutputStream() are the two methods available in Socket class.
When the specified URL is not connected then the URL throw MalformedURLException and If InetAddress? methods getByName and getLocalHost are unable to resolve the host name they throw an UnknownHostException.
Webmaster 22nd of May 2012
Tell us what you feel about Network Programming Interview Questions and Answers
All comments will be published after review. No login or registration is required to post a comment on Network Programming Interview Questions and Answers We offer and invite you to submit your valuable comment now; Please be respectful of others when commenting. Insulting others, self-promotional comments, website promotional comments, marketing stuff, SEO Techniques, SMS-style content and off-topic comments will not be approved at this information portal.
So start sharing your thoughts regarding Network Programming Interview Questions and Answers
Thank you.