▲ | mct 3 days ago | |
I love that the networking stack uses SLIP and slattach(1)! I was playing with a toy TCP/IP stack, and decided using SLIP over a pty on Linux was a great way to interface with the kernel. Unfortunately it looks like macOS previously shipped with slattach(1) a very long time ago, but no longer does. I'm curios if other people have used SLIP on macOS to get a dead-simple, cross-platform API to the networking stack? The alternative would be to use tun/tap on Linux and utun on macOS, but SLIP would be so much nicer. |