Java Networking Question and Answers

5. What are the seven layers of OSI model?
 
  • Application
  • Presentation
  • Session
  • Transport
  • Network
  • DataLink
  • Physical Layer
 
Your Name Your Email-ID
Your Answer
6. What is the Proxy Server?
 
  • A proxy server speaks the client side of a protocol to another server.
  • This is often required when clients have certain restrictions on which servers they can connect to.
  • And when several users are hitting a popular website, a proxy server can get the contents of the web server's popular pages once, saving expensive internetwork transfers while providing faster access to those pages to the clients.
 
Your Name Your Email-ID
Your Answer
7. What is SMTP?
 
  • Simple Mail Transmission Protocol, the TCP/IP Standard for Internet mails.
  • SMTP exchanges mail between servers; contract this with POP, which transmits mail between a server and a client.
 
Your Name Your Email-ID
Your Answer
8. What are Datagram's and Sockets?
 
  • A socket represents a connection point into a TCP/IP network between two computers; one of which is the server and the other is the client.
  • Sockets are used to access the Web server.
  • These socket's are available in the Java Socket class.
  • Sockets act as virtual passageways for communication through which the data connectionless.
  • The connection oriented socket operates similarly to a telephone type of socket is the connectionless socket.
  • This type of sockets is called a Datagram.
  • This socket operates similarly to the mail.
  • A characteristic of the Datagram is that it allows only one message to be sent at a time.
  • The delivery of data is not guaranteed because Datagrams use the UDP Protocol.
 
Your Name Your Email-ID
Your Answer
1234 Page 2 of 4