Information Technology Reference
In-Depth Information
Accept method.
24.10.10 Close method
The Close method closes a TCP connection. Its syntax is
object . Close
24.10.11 SendData method
The SendData methods sends data ( Data ) to a remote computer. Its syntax is
object . SendData Data
24.10.12 GetData method
The GetData method gets data (Data) from an object. Its syntax is
object . GetData data , [ type ,] [ maxLen ]
24.11 Exercises
24.11.1
Which of the following is not part of a TCP header:
(a)
Host IP address
(b)
Time-to-live field
(c)
Host port number
(d)
Acknowledgement number
24.11.2
Which port does a TELNET server listen to:
(a)
21
(b)
25
(c)
25
(d)
80
24.11.3
Which port does an Email server (using SMTP) listen to:
(a)
21
(b)
25
(c)
25
(d)
80
24.11.4
Which port does a WWW server (using HTTP) listen to:
(a)
21
(b)
25
(c)
25
(d)
80
24.11.5
Which port does an FTP server listen to:
(a)
21
(b)
25
(c)
25
(d)
80
24.11.6
What is the main difference between UDP and TCP:
(a)
TCP uses sequence numbers, makes connections and uses acknowledge-
Search WWH ::




Custom Search