DEV Community

Cover image for Building a Web server in Bash, part II - parsing HTTP

Building a Web server in Bash, part II - parsing HTTP

Leandro Proença on August 01, 2022

In the first part of this guide, we walked through the basics of netcat nc command, from basic UNIX sockets to TCP sockets, all the way writing an ...
Collapse
 
coditdoc profile image
Codeitdoc7

Building a web server in bash you're insane 🐱.
Inspiring work

Collapse
 
adam_danischewski_95f2b92 profile image
Adam Danischewski

Nice tutorial - looks good. I rewrote one just recently originally thought about using netcat but opted for socat easier plus no worries about different netcat flavors/options. Mine is a file server, using dd to stream binary so you can listen to music/watch videos. You can see it here, feel free to hack it up: github.com/BashBuddy/bashbuddy