Backend development

Stage 1 · Lesson 8 of 10

TCP connections and TLS

Your language and how HTTP works

Once the client knows your server's , it opens a connection to a port, usually 443. TCP delivers bytes in order and resends any that get lost on the way. Setting it up takes a short three-way greeting called the (SYN, SYN-ACK, ACK).

TLS then runs on top of TCP, and it is what puts the S in HTTPS. The server shows a that proves it owns the domain. Both sides agree on secret keys, and from then on everything is encrypted, and any tampering is detected.

TLS 1.3 needs one for this. Every handshake adds waiting time (latency). That is why clients reuse connections, and why opening a new connection for every request is slow.

Common trapthinking HTTPS hides everything: the server's IP address, and usually its hostname, are still visible on the network.

A question to check yourself, an AI practice session and 1 cheat sheet entry come with the full roadmap. Unlock

Resources for this stage

Start with

  • GuideFree
    Learn C#

    Microsoft · Beginner

    Official C# tutorials from the language basics through classes, LINQ and async

Practise

  • Your language track: small exercises with free mentor feedback on idiomatic code

Keep handy

  • Quick syntax lookups for your language when you forget how something is written

  • Read the HTTP overview, methods, headers and status code pages until they feel obvious

Also worth your time

Mark this stage as not done?