Network Programming Question: Download Network Programming PDF

What are the two important TCP Socket classes?

Tweet Share WhatsApp

Answer:

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.

Download Network Programming PDF Read All 13 Network Programming Questions
Previous QuestionNext Question
When MalformedURLException and UnknownHostException throws? Can you be bale to identify between Straight- through and Cross- over cable wiring? and in what case do you use Straight- through and Cross-over?