Skip to content

Chen-Rong-Zi/mini-tcp-ip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

TCP/IP stack

intro

a mini tcp/ip stack implementation by C.

setup

activate conda/mininet environment

# create virual environment and activate
conda create -n venv python=3.10 -y
source ~/miniconda3/bin/activate
conda activate venv

# install mininet to create virtual network
pip install mininet

example

tcp_topo*.py create two hosts, one as a sender the other as a reciver, which can spawn shell by sudo mnexec -a $(pid) CMD for convience, you can just type make h1 or make h2 to get bash prompt respectively.

next step is to launch a tcp_stack, which can be made by make tcp_stack. And then, launch a client by make client.

About

nju 计网lab2/lab3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •