I'm trying to simulate flow control and congestion control in java. I have a simple code with a TCP-Client and TCP-Server, but I need to separate it into two parts: Flow Control and Congestion control. Then, I need to capture TCP packets in WireShark to see what is the congestion window behaviour.
I have been reading about it, but I haven't found anything about this topic. Would someone give me an idea to start with this?
I have read Networking from Kurosse, but it just give an illustrative example on how TCP works.