I'd recommend reading the "classical" RFCs for TCP, including 1122 ("Requirements for Internet Hosts", https://tools.ietf.org/html/rfc1122 ).
Learning the basics of Ethernet would be helpful as well and is one of those foundational skills that'll make it easier to understand various protocols, commands in Linux, etc.