What are the advantages and disadvantages of sockets?



What are the advantages and disadvantages of sockets?..

Answer / Saurabh Sonkar

Advantages: 1. Sockets provide low-level access to network communication, allowing for customization of the connection process. 2. They support both client and server applications. Disadvantages: 1. Manual management of input/output streams can be complex. 2. Sockets are not designed for HTTP protocol, which makes them less suitable for web applications.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Java Networking Interview Questions

What is URL?

6 Answers   Wipro,


What is a port?

6 Answers  


What are the advantages and disadvantages of java sockets.

1 Answers  


Is there any difference between TCP/IP and TCP?

4 Answers  


What is a thread pool?

1 Answers  


What is HttpURL connection ?

1 Answers   Akamai Technologies,


What is socket in java?

1 Answers  


How we can make simple java program for Server/Client Communication

1 Answers   PUCIT,


What is meant by time-slicing?

9 Answers   Accenture, Wipro,


What is cookies in networking ?

1 Answers   Akamai Technologies,


EDP RESPONSIBILITIES

1 Answers   Aurum, HFL, JK Ansell, NDS, University,


To create a socket, you need to know the internet host to which you want to connect?

1 Answers  


Categories