Network 作业辅导

网络程序辅导 辅导网络编程作业 socket TCP/IP

network

Question 1 (Delay, 18%).

As shown in the figure below, a file of size F = 1000 + S bytes is transmitted on an end-to-end connection over four links, where S is the last three digits of your student number. For example, if your student number is 490123456, then S = 456 and F = 1456 bytes.

Each link is 100 km. The signal prorogation speed is 2 × 108 m/s. Assume that a header of 40 bytes is added to each packet. The bandwidth of all links is R = 1 Mbps at the beginning. The nodes use the store-and-forward scheme. (Ignore processing delays at each node.)

(0) What is your student number? Warning: If you use another student’s number as S value to answer the question, the following sub-questions will not be marked and you will get 0 in Question 1.

(1) How long does it take to transmit the file if the whole file is transmitted as a single packet. Now assume that the bandwidth of link B − C and D − E become 0.5 Mbps. Answer (2)–(4).

(2) Repeat (1).

(3) We would like to break the file into smaller packets to decrease the overall delay in the store-and-forward scheme. Assume that each time you break the file to make a new packet, you have to add 40 bytes as the header of the new packet. Repeat (2) when we break the file into N = 4 packets.

(4) What should be the optimal size of the packets to have the minimum overall delay to deliver the whole file? Find the overall delay. Hint: Since the link B − C has a smaller bandwidth compared with A − B, packets could be queued for some time!

Simple TCP like transport layer protocol

CSEE 4119: Computer Networks, Fall 2015
Programming Assignment 2: Simple TCP like transport  layer protocol
Due Friday, November 6 th 11:55 pm
Academic Honesty Policy
You are permitted and encouraged to help each other through Piazza’s web board. This only
means that you can discuss and understand concepts learnt in class. However, you may NOT
share source code or hard copies of source code. Refrain from sharing any material that could
cause your source code to APPEAR TO BE similar to another student’s source code enrolled
in this or previous years. Refrain from getting any code off the Internet. Cheating will be
dealt with severely. Cheaters will be penalized. Source code should be yours and yours only.
Do not cheat.
1. Introduction
In this programming assignment, you will implement a simplified TCPlike
transport layer
protocol. Your protocol should provide reliable, in order delivery of a stream of bytes. It
should recover from innetwork
packet loss, packet corruption, packet duplication and packet
reorderi

COMP3331/9331 15s2 Assignments (Programming)

COMP3331/9331 15s2 Assignments (Programming)

 

 

Programming Assignment (60 Marks + 5 bonus):

Due Date: 23 October 2015, 11:59 pm, Friday

CSE-version:

Specification can be found here (version 1.1, Last update: 14/10/15).

Setup script for Java can be found here

Setup script for C can be found here

 

Sample Client Server Programs:

This is a sample client server program using TCP that you can download and execute. This will provide you with a working example of a simple application and will be useful when you start developing your assignment. As the name suggests this

cloud server c implemenetation

Project 5

CS 485 Project 5: A cloud server

Introduction

Over the past few years, the concept of a “cloud” where our programs and data can live has become very popular. What makes the cloud possible is a combination of Internet communication (enabling communication with servers located anywhere in the world) and virtualization of resources (enabling providers to offer/sell storage and computation inside the network). We are seeing companies race to put there services in the cloud, and users are rapidly embracing services in the cloud.

One of the most popular services is cloud file storage; the ability to upload your data to the cloud and then to download it whenever your need it to any device that needs it. Today we see an seemingly endless list of cloud storage providers (e.g., Amazon Cloud Drive, Google Drive, Apple ICloud, Box, DropBox, MS SkyDrive, SpiderOak, and others).

In this project, you will write your own cloud file storage service called mycloud<