Live data from Hacker News

Let's code a TCP/IP stack (2016)

saminiir.com

51–55 of 55 posts

Re: Let's code a TCP/IP stack (2016)

#51
post #3

Earlier quoted context omitted.

Have you seen Richard W. Stevens book TCP/IP Illustrated? Specifically volume 2 'the Implementation', which is, I think what you're looking for (albeit slightly dated).

Yes I own the series but their focus is a little more on completeness. I know I'm getting picky :) but TCP is pretty complex so I keep looking out for the most minimal code and walk through to understand all the state management and other flow.

Take a look at Adam Dunkels' lwIP and uIP - http://dunkels.com/adam/software.html.

Also Jeremy Bentham's TCP/IP Lean: Web Servers for Embedded Systems is pretty good.

Re: Let's code a TCP/IP stack (2016)

#52
post #26

Earlier quoted context omitted.

ISDN was super fast - I remember playing Warcraft 2 on an ISDN connect with a friend down the street :)

growing up in the UK stuck with 56Kbps modems, when prompted to select network speeds I remember seeing things like ISDN (128Kbps) and T1/T3 Cable (1Mbps) and thinking wow, those Americans have lightning Internet

Residential ISDN was very rare in the US. I rented a house in the 90s with a few fellow nerds and we got ISDN in our house, but it was definitely expensive (and required a network terminal device) and you always had to be routed to a specialist at the phone company if there were any issues, since most of the support people had never heard of it.

Re: Let's code a TCP/IP stack (2016)

#54

Earlier quoted context omitted.

Yes I own the series but their focus is a little more on completeness. I know I'm getting picky :) but TCP is pretty complex so I keep looking out for the most minimal code and walk through to understand all the state management and other flow.

Take a look at Adam Dunkels' lwIP and uIP - http://dunkels.com/adam/software.html . Also Jeremy Bentham's TCP/IP Lean: Web Servers for Embedded Systems is pretty good.

Woah, I love Adam's work. Thanks for sharing.

Re: Let's code a TCP/IP stack (2016)

#55
post #31

Earlier quoted context omitted.

C and Unix are from the early 1970s. They date from an era that predates the prevalence of large, bitmapped displays. There is a famous photo of Dennis Ritchie and Ken Thompson at a teletype in 1972 ( http://www.columbia.edu/cu/computinghistory/teletype/ken-and... ). When the luxuries of modern IDEs, bitmapped displays, and high amounts of untapped computational power are unavailable, the programming environment and…

> are from the early 1970s But why do we still have to suffer in 2021?

We’re still using QWERTY keyboards, some things are just a product of history.
Post reply on HN