a mini tcp/ip stack implementation by C.
# 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 mininettcp_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.