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

The internet or the world wide web, The internet or the World Wide Web is ...

The internet or the World Wide Web is the most familiar and popular example. These databases hold vast amounts of information, for example, on companies. By obtaining details in t

What is a Process and process mangemen in operating system? , A process is ...

A process is a chronological program in execution. The constituents of a process are the following: • The object program to be executed ( described the program text in UNIX) • Th

#algorithm, #to determine whether given year is leap year or not

#to determine whether given year is leap year or not

Explain different types of attacks, Question 1 Explain synchronous and asy...

Question 1 Explain synchronous and asynchronous Data Replication Question 2 Write a short note on Access Time, Latency, Transfer Time, and Streaming Tape Question 3

Unix Shell, Write a shell script, change-lines, which will substitute a str...

Write a shell script, change-lines, which will substitute a string for a replacement string for each occurance of the string in files specified. The original file will be saved,

Information system and information technology, What is the difference betwe...

What is the difference between information technology and information systems? Describe some of the fuctions of information systems

SOFTWARE, main task of sofware developper

main task of sofware developper

Describe the binary search algorithm, QUESTION 1 Describe the binary se...

QUESTION 1 Describe the binary search algorithm using an example of your own. QUESTION 2 (a) By showing all your workings, give a big-O estimate for f(x) = (x + 1)lo

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