-
Will you get all the programs done?
-
Yes
-
No
-
No way
-
(Yes/No) Can the first packet sent by a host ever have the Fragement bit
set
-
I want to send a packet via Ethernet using UDP. The data for the
packet is 'hi', just those two letters. What's the first byte that
the ethernet sends.
-
I observe that I can send from here to Euclid a 40 byte packet and
I need 0.5 milliseconds. I can send a 1040 byte packet
using 6.5 milliseconds. What is the latency and bandwidth between
me and euclid. USE UNITS!!!
-
I notice that as I add more and more computers to my ethernet,
total traffic successfully received drops even though all the stations
are trying to send. Why?
-
(Backpack / Modem) You can send via a modem at 56K bits/second.
Gabrielle could walk the data in your backpack at 30 miles per day.
Gabrielle can carry 100 tapes, each holding 20 Gigabytes. Los Angles
is about 3,000 miles away. Which has the higher bandwidth between
here and LA, walking with the backpack or sending via modem?
-
Why does each ethernet wait a random time after a collision to retransmit?
Why not instead pick some near-optimal time, and retransmit after that
time?
-
My Xena-tracking device transmits at 40 K bytes/second. I need
to capture every moment of Xena's every move. How using UDP/TCP/IP
can I reserve the 40 KB/second?
-
Who decides the route of a packet normally?
-
Sender
-
Reciever
-
Routers on the route
-
Gabrielle
-
What is the limit of X as X approaches 2 from the left.
-
2
-
Two
-
Too
-
How do you find the ethernet address of a host given it's IP address.
Assume you are on the same wire as the host in question.
-
Which of these functions puts a packet on the wire. Choose zero or one
or more.
-
fork()
-
socket()
-
accept()
-
The function fnctl is sometimes used on file descriptors. It's return
type is int. What does it return on error?
-
Which handles the most bytes, the ethernet card or the part of the OS that
sends TCP packets.
-
TCP does not explicitly handle collisions. TCP works fine
over ethernet, which can have collisions. How can this
be?
-
Assuming no errors, what would the following program print?
main() {
int i = 10;
int pid = fork()
if (pid == 0) {
i = 1;
}
cout << i;
}
-
Edit the program above to check for an error from fork().