Get the latest tech news

Let's give PRO/VENIX a barely adequate, pre-C89 TCP/IP stack, featuring Slirp-CK


I had this grand idea many moons ago about writing up a TCP/IP stack for the Commodore 64, along with a lot of other people, and several o...

Here's our barebones network stack for PRO/VENIX, the Pro's only official Unix option, downloading the Google home page on real hardware (internal addresses bleeped out) over SLIP and a Crypto Ancienne proxy for TLS 1.3. I'm pretty sure the system I was calling was a terminal server with a SLIP feature, but in olden days the upstream end might have been a utility like slattach which effectively makes a serial port directly into a network interface. Because they synthesize artificial local IP addresses, sort of NAT before the concept explicitly existed, the architecture of such tools prevented directly creating listening sockets — though for some situations this could be considered a more of a feature than a bug.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of IP stack

IP stack

Photo of pre-C89 TCP

pre-C89 TCP

Photo of Slirp-CK

Slirp-CK

Related news:

News photo

Let’s code a TCP/IP stack, 1: Ethernet and ARP (2016)