---
title: "Discussion on \"Building a C++ HTTP Server from Scratch (Part 1): Setting Up TCP Sockets\" | Hashnode"
description: "Discussion on \"Building a C++ HTTP Server from Scratch (Part 1): Setting Up TCP Sockets\". Learn how to build an HTTP server in C++ from scratch using POSIX TCP sockets, step-by-step code snippets."
url: "https://hashnode.com/posts/building-a-c-http-server-from-scratch-part-1-setting-up-tcp-sockets/6a6bcb0d1ee19fed17b4926b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Building a C++ HTTP Server from Scratch (Part 1): Setting Up TCP Sockets](https://fun-code.hashnode.dev/building-a-c-http-server-from-scratch-part-1-setting-up-tcp-sockets?utm_source=hashnode&utm_medium=feed)

Learn how to build an HTTP server in C++ from scratch using POSIX TCP sockets, step-by-step code snippets.

Jul 30 · 10 min read · fun-code.hashnode.dev  
Read the article

-   [#networking](https://hashnode.com/tag/networking)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#project](https://hashnode.com/tag/project)
-   [#cpp](https://hashnode.com/tag/cpp)
-   [#backend](https://hashnode.com/tag/backend)
-   [#pro](https://hashnode.com/tag/pro)
-   [#dev](https://hashnode.com/tag/dev)
-   [#development](https://hashnode.com/tag/development)

## Written by

[Tanishq Patel](https://hashnode.com/@devtan)

@devtan · Vancouver, Canada

  
[View profile](https://hashnode.com/@devtan)

Documenting my projects so I don't forget them.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
