Hi, everyone!

I want to implement a mini-TCP protocol that can simulate
TCP's three-time shake hands method and simulate simple
"send" and "recv" method in socket programming. I want to
use raw socket but I am not sure whether there are some
alternative methods.

I just want to get simple implementions to make a concept
proof purpose of how TCP is working. Just for learning purpose.
:-)

I want to know whether there are some sample codes of this
topic that I can make a reference? Must I use RAW SOCKET?
Are there some alterative methods or alternative methods?



Thanks in advance,
George