Just got this message maybe it can be interesting for us....
>I have written a small TCP/IP stack for 8- and 16-bit microcontrollers in
>embedded systems that uses cc65 for the 6502 (Commodore 64) version. It can
>be found at http://dunkels.com/adam/uip/.