Computer networks miscellaneous
- Host A sends a UDP datagram containing 8880 bytes of user data to host B over an Ethernet LAN. Ethernet frames may carry data up to 1500 bytes (i.e. MTU = 1500 bytes).Size of UDP header is 8 bytes and size of IP header is 20 bytes. There is no option field in IP header. How many total number of IP fragments will be transmitted and what will be the contents of offset field in the last fragment?
-
View Hint View Answer Discuss in Forum
Correct Option: C
- In one of the pairs of protocols given below, both the protocols can use multiple TCP connections between the same client and the server. Which one is that?
-
View Hint View Answer Discuss in Forum
HTTP (Hyper Text Transfer Protocol) and SMTP (Simple Message Transfer Protocol) protocols can use several TCP associations between the same client and the server.
Correct Option: D
HTTP (Hyper Text Transfer Protocol) and SMTP (Simple Message Transfer Protocol) protocols can use several TCP associations between the same client and the server.
- Suppose that the stop-and-wait protocol is used on a link with a bit rate of 64 kilobits per second and 20 milliseconds propagation delay. Assume that the transmission time for the acknowledgement and the processing time at nodes are negligible. Then the minimum frame size in bytes to achieve a link utilization of at least 50% is _________.
-
View Hint View Answer Discuss in Forum
Given that B = 64 kbps
Tp = 20 ms
η ≥ 50%
For η ≥ 50% ⇒ L ≥ BR
⇒ L = 64 × 103 × 2 × 20 × 10–3
= 2560 bits = 320 bytesCorrect Option: C
Given that B = 64 kbps
Tp = 20 ms
η ≥ 50%
For η ≥ 50% ⇒ L ≥ BR
⇒ L = 64 × 103 × 2 × 20 × 10–3
= 2560 bits = 320 bytes
- Assume that the bandwidth for a TCP connection is 1048560 bits/sec. Let a be the value of RIT in milliseconds (rounded off to the nearest integer) after which the TCP window scale option is needed. Let b be the maximum possible window size with window scale option. Then the values of a and b are
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
NA
- Which one of the following socket API functions converts an unconnected active TCP socket into a passive socket?
-
View Hint View Answer Discuss in Forum
Listen converts active unconnected mode to passive mode, indicating that the kernal should accept incoming connection requests directed to this socket.
Correct Option: C
Listen converts active unconnected mode to passive mode, indicating that the kernal should accept incoming connection requests directed to this socket.