Information Technology Reference
In-Depth Information
ments.
(b)
They use different addressing schemes.
(c)
They use different port allocations.
(d)
UDP only supports one-way traffic, while TCP supports multiplexed traf-
fic.
24.11.7
What is the main method that TCP uses to create a reliable connection:
(a)
Enhanced error correction
(b)
Specially coded data
(c)
Encrypted data
(d)
Sequence numbers and acknowledgements
24.11.8
How is the initial sequence number of a TCP packet generated:
(a)
Randomly
(b)
From a 32-bit clock which is updated every 4
ยต
s
(c)
From a universal Internet-based clock
(d)
From the system clock
24.11.9
How many packets are exchanged in setting up an established TCP connection:
(a)
1
(b)
2
(c)
3
(d)
4
24.11.10 Outline the operation of the three-way handshaking.
24.11.11 What advantages does TCP have over UDP. Investigate server applications which
use UDP.
24.11.12 If possible, implement a basic client/server application with either C++ or Visual
Basic. As a test, run the client and the server on the same computer. (Note the IP
address of the computer as this is required by the client.)
24.11.13 Change the program in Exercise 24.11.12 so that the client and the server run on
different computers (note the IP address of the server as this is required by the cli-
ent). If possible, run the program on different network segments.
For the following questions, download a program from the WWW which connects
to a specified port on a specified server.
24.11.14 Connect to a WWW server using port 13. This port should return the current date
and time.
24.11.15 Connect to a WWW server using port 19.
24.11.16 Connect two computers over a network and set up a chat connection. One of the
computers should be the chat server and the other the chat client. Modify it so that
the server accepts calls from one or many clients.
Search WWH ::




Custom Search