Smallest TCP/IP code?

Jim Leonard trixter at oldskool.org
Fri Feb 18 12:54:14 CST 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" <brad at heeltoe.com>
> 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 (trixter at oldskool.org)                    http://www.oldskool.org/
Want to help an ambitious games project?             http://www.mobygames.com/
Or check out some trippy MindCandy at             http://www.mindcandydvd.com/



More information about the cctalk mailing list