Slashdot Mirror


TwIP - An IP Stack In a Tweet

Adam Dunkels writes "Inspired by the Twitter-sized program that crashes Mac OS X, I just wrote a really, really rudimentary IP stack called twIP, small enough to fit in a Twitter tweet. Although twIP is very far away from a real IP stack, it can do the first task of any IP stack: respond to pings. The entire source code can be found in this 128-character-long tweet. For those who are interested in low-level network programming, a code walkthrough with instructions on how to run the code under FreeBSD is available here. The FAQ: Q: why? A: for fun."

4 of 81 comments (clear)

  1. Re:I hope this isn't a new trend. by maharius · · Score: 2, Funny

    It is like me saying I can make a Web Browser using a shell script with 2 lines.
    #!/bin/bash
    apachectl start

    If that's what you're using as a web browser, you're doing it wrong.

  2. similarly big accomplishment by AlgorithMan · · Score: 4, Funny
    hey, I wrote a webbrowser in 8 bytes of BATCH: here's the source code:

    IEXPLORE

    impressive, huh?

    --
    The MAFIAA is a bunch of mindless jerks who will be the first up against the wall when the revolution comes
    1. Re:similarly big accomplishment by AlgorithMan · · Score: 2, Funny
      oh and don't forget my downloading prog in BASH:

      wget $@

      man, I'm so f*cking 1337!

      --
      The MAFIAA is a bunch of mindless jerks who will be the first up against the wall when the revolution comes
  3. Re:At least 3 ways to make it smaller: by Mozk · · Score: 4, Funny

    Yeah, but for(;;) loops forever, whereas while(1) only loops while 1 is true. It's completely different! What if 1 becomes false?!

    --
    No existe.