Smallest TCP/IP code?

From: Jim Leonard <>
Date: Fri Feb 18 12:54:14 2005

I am surprised that nobody has mentioned Contiki. It's an OS with TCP/IP stack
designed for low-resource systems (runs on a C64 for example). You may be able
to rip their TCP/IP code (it's opensource).

Randy McLaughlin wrote:
> From: "Brad Parker" <>
> Sent: Friday, February 18, 2005 11:15 AM
>> "Randy McLaughlin" wrote:
>>> On comp.os.cpm there is a thread on porting TCP/IP to CP/M. One idea
>>> was to
>>> use a micro-controller as a smart device off-loading the stack to it and
>>> communicating via serial or parallel port.
>> hum. I would think with 64k and BSD C you could get a simple tcp + slip
>> going on CP/M. It's been a long time since I did any CP/M work,
>> however.
>> I did a tcp/udp from scratch w/ethernet on a PIC 18F. It would not pass
>> muster with Van Jaconson (or Sally Floyd :-) but it works fine on a
>> local wire. Nothing like advertising a window size of 256 bytes :-)
>> -brad
> The issues include:
> What are you doing with TCP/IP?
> If you want a simple client you get to use the entire 64K (telnet, ftp,
> email).
> If you want to use it via a redirector to attach to a file server then
> you have a problem: The TCP/IP code takes up most of the 64K now you
> want to load a word-processor to access files on the server?
> Another issue is how to physically attach it.
> Randy

Jim Leonard (          
Want to help an ambitious games project?   
Or check out some trippy MindCandy at   
Received on Fri Feb 18 2005 - 12:54:14 GMT

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:37:39 BST