Skip to content

an implementation of the TCP networking transport layer protocol

Notifications You must be signed in to change notification settings

six5532one/tcp-like

Repository files navigation

Usage

The Sender sends from port 5555 and listens for ACKs on the user-specified ack_port_num. When testing with newudpl, please configure the source port to be 5555: $ newudpl -i/5555 -o: -v -L

Suppose the Sender has IP address 128.59.15.70, is sending all segments from port 5555 and listens for ACKs on port 6000; the proxy running newudpl has IP address 128.59.15.62 and is listening on port 41192; and the Receiver has IP address 128.59.15.68 and is listening on port 7000:

// proxy $ ssh [email protected] $ ./newudpl -i128.59.15.70/5555 -o128.59.15.68:7000 -v -L60

// Receiver $ ssh [email protected] $ make clean $ make $ java Receiver outfile 7000 128.59.15.70 6000 receiveLog $ cat outfile

// Sender $ ssh [email protected] $ make clean $ make $ java Sender infile 128.59.15.62 41192 6000 sendLog 8

Features

Implemented fast retransmit.

About

an implementation of the TCP networking transport layer protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published