CS168 Fall 2022 Project 2 – TransportDue: Nov 11, XXXXXXXXXX:59 PMContents1 Introduction 32 Background 32.1 Sockets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

2 answer below »

please read through the spec, which also includes a simulator guide that gives you additional information about the code structure and simulator APIs.


CS168 Fall 2022 Project 2 – Transport Due: Nov 11, 2022 11:59 PM Contents 1 Introduction 3 2 Background 3 2.1 Sockets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.2 TCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 3 Before You Start 6 3.1 Getting Skeleton Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.2 Consider using an IDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.3 The POX Simulation Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.4 Trying out POX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.5 Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.6 Debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.6.1 Programmatic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.6.2 Tracing Packets: POXDesk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.6.3 Tracing Packets: Other Network Analyzer . . . . . . . . . . . . . . . . . . . . . . 8 3.7 Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4 Getting Familiar 9 4.1 Methods in skeleton code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 5 Sequence spaces and segments 10 5.1 Sending data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 5.2 Receiving data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 5.3 Segments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 6 Stages 12 6.1 Three-way handshake . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 CS 168 Fall 2022 – Project 2 2/ 22 6.2 Receiving In Order Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 6.3 Receiving Out of Order Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 6.4 Simple Sending of Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 6.5 Honor Advertised Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 6.6 Passive Close . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 6.7 Active Close . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 6.8 Send retransmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Answered 43 days AfterOct 26, 2022

Answer To: CS168 Fall 2022 Project 2 – TransportDue: Nov 11, XXXXXXXXXX:59 PMContents1 Introduction 32...

Aditi answered on Nov 12 2022
45 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here