How Does Java Support Network Programming?



A
Abigael
Author has 03 answers
Java applications may communicate over the Internet using TCP or UDP by using the appropriate classes in the java.net package. TCP is the protocol that is used by the URL, URLConnection, Socket, and ServerSocket classes in order to interact with one another across the network. Classes known as DatagramPacket, DatagramSocket, and MulticastSocket may be used while working with UDP.
98.8k views Report

{{item.question}}

{{item.username.toUpperCase().substr(0,1)}}
{{item.username}}
Author has {{item.statsAnswers}} answers
{{item.views}}k views Report
Related questions
Contact Us
×