Re: [cc65] cc65 + tcp/ip howto and/or example

From: Oliver Schmidt <>
Date: 2011-01-03 15:54:16
Hi Gábor,

>> - Have you ever written a GUI application? The GUI core calls you when
>> your screen area needs to be (re-)drawn. [...] uIP is using the very same
>> paradigm for networking [...]

> Yes, I know about the event-driven programming model, and I've coded for GTK
> on Linux both in C and Python. But now I am really unsure why you mention
> this, it sounds like you think I have some negative feeling against this.

No, not at all. I mentioned it for this: Many people looking at uIP
are irritated by the fact that you can't just call a uIP to send out a
packet. Rather you need to deal with events and callbacks. This seems
unnatural to uIP newbies. But if you see the parallel to GUI
programming than it's easy to see why it is the natural way to do it -
but this parallel tends to only work for someone with experience with
GUI programming. Therefore my question...

> After reading your mail, I have the thought that you really misunderstood
> something, or I can't express myself clearly, which can be the case since my
> English is far from being perfect, I think. So: I don't want a POSIX like
> API: not because it sucks, but because it's not suitable for C64 or anything
> like that.

That was certainly clear from you mail. I just wanted to point out
that even if you had those APIs you'd still end up with some "event
driven programming" - which is something many people want to avoid.

> IP65 is perfect to
> learn about how to program a TFE on I/O level and things like that which is
> more a quick way for me learn.

If your goal is to learn about TFE / RR-Net then uIP / Contiki will
certainly put too much abstraction in your way. If your goal is to
write some working IP program than I'd argue that Contiki could get
you there more quickly although its complexity...

To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Jan 3 15:54:24 2011

This archive was generated by hypermail 2.1.8 : 2011-01-03 15:54:27 CET