I'm creating server/client classes for "Stop & Wait" and "Go Back N" (variant of sliding window) protocols, though I'm unsure on whether I should pursue TCP or UDP. From my current understanding I would implement UDP in "Stop & Wait" whilst TCP in "Go Back N"?
Furthermore would I implement aspects of TCP within my "Stop & Wait"? As I understand "Go Back N" is simply an extension of "Stop & Wait", just without the waiting.
Sorry if the answers are obvious, trying to wrap my head around these protocols.
TCP is essentially a refined version of Stop and Wait plus Go back N. If you want to build your own, use UDP.