What are the advantages and disadvantages of Java Sockets?Advantages:
a. Flexible and powerful.
b. Cause low network traffic if efficiently used.
c. Only updated information can be sent.
a. The Java applets can establish communication only with the machine requested and not with any other machine on the network.
b. Sockets allow only raw data to be sent. This means that both client and server need to have mechanisms to interpret the data.