- Calculator TCP/IP networking
- 25 Mar 2011 05:47:00 pm
- Last edited by christop on 31 Aug 2011 09:21:28 am; edited 1 time in total
After reading a lot about CALCnet2.2, I was hoping that it would support IP and other protocols (eg, ICMP) running on top of it, much as IP runs over Ethernet. However, the Cn2.2 protocol is not very well suited for some protocols that run over IP. In particular, Cn2.2 re-sends frames until they are delivered to the destination (except for broadcasts), whereas UDP by itself does not resend frames (except in the case of collision). There are workarounds for this, but that's what they are--workarounds.
Also, there is already globalCALCnet, which is a means of allowing calculators to communicate over the Internet using CALCnet, but it is achieved by running the CALCnet protocol on top of TCP/IP, rather than the other way around. Trying to use IP over CALCnet will make it incompatible with gCn anyway (since that would be IP over CALCnet over TCP/IP), so I figure it's best to design a different protocol with IP in mind.
Given these limitations/issues with Cn2.2 (due to different design goals and not any fault of the protocol), what I am hoping to do is develop a frame-based protocol somewhat similar to Cn2.2 which performs the role of the Data Link layer in the OSI model, and which allows IP and other protocols to run on top of it (much like Ethernet). Of course, this means the protocol may be limited to more-powerful calcs, such as the 68k calcs and the Nspire, which are capable of running a usable TCP/IP stack and Internet applications on top of it.
I already have some ideas for the bit-level, byte-level, and frame-level protocols, but I want to get a feel for whether there would be any support/demand for this new protocol before I spend much more time designing it. (Though, even if there is little demand for it, those few individuals who would use it could still communicate with other hosts, calculators or not, over the Internet, since that is the point of the protocol )
NOTE: I am not trying to compete with or "rip off" CALCnet. I am trying to develop another protocol with different goals and purposes than CALCnet. I am hoping to use any knowledge and insight that Kerm (or others) gained while designing CALCnet, since this new protocol will inevitably have some similarities to CALCnet (such as at the physical layer).
NOTE2: This new protocol could also use Direct-USB, like CALCnet, but it would just use a computer as a standard network bridge/router.
Also, there is already globalCALCnet, which is a means of allowing calculators to communicate over the Internet using CALCnet, but it is achieved by running the CALCnet protocol on top of TCP/IP, rather than the other way around. Trying to use IP over CALCnet will make it incompatible with gCn anyway (since that would be IP over CALCnet over TCP/IP), so I figure it's best to design a different protocol with IP in mind.
Given these limitations/issues with Cn2.2 (due to different design goals and not any fault of the protocol), what I am hoping to do is develop a frame-based protocol somewhat similar to Cn2.2 which performs the role of the Data Link layer in the OSI model, and which allows IP and other protocols to run on top of it (much like Ethernet). Of course, this means the protocol may be limited to more-powerful calcs, such as the 68k calcs and the Nspire, which are capable of running a usable TCP/IP stack and Internet applications on top of it.
I already have some ideas for the bit-level, byte-level, and frame-level protocols, but I want to get a feel for whether there would be any support/demand for this new protocol before I spend much more time designing it. (Though, even if there is little demand for it, those few individuals who would use it could still communicate with other hosts, calculators or not, over the Internet, since that is the point of the protocol )
NOTE: I am not trying to compete with or "rip off" CALCnet. I am trying to develop another protocol with different goals and purposes than CALCnet. I am hoping to use any knowledge and insight that Kerm (or others) gained while designing CALCnet, since this new protocol will inevitably have some similarities to CALCnet (such as at the physical layer).
NOTE2: This new protocol could also use Direct-USB, like CALCnet, but it would just use a computer as a standard network bridge/router.