What is a socket, Basic Computer Science

Assignment Help:

QUESTION

(a) You have been asked to design and implement a chat application. Which protocol would you used TCP or UDP? Justify your answer.

(b) Explain why multithreading is preferred to single thread in a client-server application?

(c) What is a socket? Why sockets are important? Why a port assignment is necessary during the creation of a socket?

(d) Explain how a client Socket is used in Java? Java codes may be used to your answer but they are not mandatory.

(e) Write a Java program to create a client based on TCP protocol. Add comments to your program to explain the instructions you are using.


Related Discussions:- What is a socket

Cisc, two characteristics og CISC architecture?

two characteristics og CISC architecture?

Functions, difference between recursion and iteration

difference between recursion and iteration

Noemalization.., what is means with respect to software engineering?

what is means with respect to software engineering?

How Round robin scheduling algorithm is useful than others ?, Round robin (...

Round robin (RR) is one of the simplest, oldest, fairest and most extensively used algorithms. • In the round robin scheduling, processes are posted in a FIFO manner but are given

Wap and wml, what is charactersics of mobile computing

what is charactersics of mobile computing

How to create basic assembler program?, The primary step is to start the De...

The primary step is to start the Debug; this step only consists of typing debug [Enter] on the operative system on time. the "a" (assemble) command is used To assemble a program on

SCM, advantages of E-SCM?

advantages of E-SCM?

Software development, requirement analysis and specification for online vot...

requirement analysis and specification for online voting

Function, function of arithmetic logic unit

function of arithmetic logic unit

Memory of computer, Memory : Computers store information internally as wel...

Memory : Computers store information internally as well as externally. Linked to CPU is an internal memory unit where all the instructions and data are stored. It contains the

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd