Transportation 1 Flashcards

1
Q

bind מדוע שרת חייב לעשות
אבל לקוח לא?

A

bind השרת עושה
כדי שהסוקט שהוא יצר ישוייך למספר פורט ספציפי, אשר ידוע ללקוחות והלקוחות מצפים מהשרת ״להמתין״ להם בסוקט שמשוייך למספר זה.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

כאשר אליס שולחת הודעה לבוב והם נמצאים ברשתות שונות,
IP איזו כתובת
MAC ואיזו כתובת
כתובות כיעד?

A

MAC המחשב של אליס בונה חבילה עם כתובת ה
של הנתב בתור היעד, ועם כתובת
IP ה
של בוב בתור היעד

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

כאשר אליס שולחת הודעה לבוב והם שניהם באותה הרשת,
IP איזו כתובת
MAC ואיזו כתובת
כתובות כיעד?

A

MAC המחשב של אליס בונה חבילה עם כתובת ה
של בוב בתור היעד, ועם כתובת
IP ה
של בוב בתור היעד

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

UDP האם
יכול להבטיח אמינות?

A

ע”י מימוש בשכבת האפליקציה. כלומר,
לא יבטיח אמינות UDP
אבל שכבת האפליקציה מעליו תדאג לזה.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does UDP deliver?

A

Messages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does TCP deliver?

A

Bytes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which is faster - udp or tcp?

A

udp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

which is more reliable - udp or tcp?

A

tcp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is “stop & wait”?

A

Send a single packet and wait until confirmation of successful transmission.
- If success, repeat with next packet
- else, re-transmit last packet and repeat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is “MSS”?

A

Maximum Segment Size - the max size of application data that can fit into a packet s.t. when all headers are added, the total length is less than or equal to the MTU (in TCP protocol)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is “RTT”?

A

Round Trip Time - the time it takes for a signal to arrive at its destination plus the
time for the acknowledgement to
travel back to the sender

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the Go-Back-N method?

A

A sliding window protocol for reliable data transmission that allows the sender to send multiple packets (up to a window size) without waiting for individual acknowledgments. If a packet is lost, the sender retransmits that packet and all subsequent packets after a timeout. The receiver only accepts in-order packets and discards out-of-order ones.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the Selective Repeat method?

A

A sliding window protocol that allows the sender to retransmit only lost or corrupted packets instead of resending all subsequent packets. The receiver buffers out-of-order packets until the missing one arrives, improving efficiency compared to Go-Back-N but requiring more memory for buffering.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

מדוע צריך “חוצץ” עבור חיבור
?TCP

A
  1. עבור שמירת חבילות שלא הגיעו ע”פ סדר השליחה
  2. לאפשר מצב בו האפליקציה קוראת לאט יותר מהקצב בו נכנסים אליה הנתונים
How well did you know this?
1
Not at all
2
3
4
5
Perfectly