Overview
This program is an implementation of the TCP protocol for application level programs. The simple transfer program has been updated to use our own TCP/IP stack with an implemented Java Socket and ServerSocket.
The Stack uses UDP packets and simulates errors in the network layer by randomly dropping packets. The IP layer is faked, and only two network nodes can exist, the server and the client.
Features
- Full implementation of TCP and the Sliding Window algorithm.
- Features several design patterns including Singleton and Static Factory.
- Successful transmission even when taking the simulated error rate past 95%.
- Open Source.
- Ant Build File.
License
Licensed under the GNU General Public License.
Learn more about GNU and free software at http://www.gnu.org/.
Download
stp-tcpip.zip (113 KB)