Re: TCP packets : end of thre-way handshake and start of data-transmission- how to detect ?



Hello Paul,

Is there a specific reason why you insist on implementing
TCP/IP with such small resources ?

I'm an hobbyist. They do normally not need something like a reason to try to
do something, do they ? :-)

But if you want to know, I've seen several projects implementing the same,
and thought it would be a nice project to try for myself.

Examples:
http://archive.chipcenter.com/circuitcellar/july99/c79bl1.htm
http://members.home.nl/bzijlstra/software/examples/RTL8019as.htm

UDP would be much more suitable for such small devices.

ARP, ICMP (together PING), IP and UDP are allready there. TCP is just the
next to be implemented.

Regards,
Rudy Wieser


-- Origional message
Paul Keinanen <keinanen@xxxxxx> schreef in berichtnieuws
fdnvv490sb6a2uvhc1fc7rm1gptcdggrjo@xxxxxxxxxx
On Mon, 4 May 2009 22:06:34 +0200, "R.Wieser" <address@xxxxxxxxxxxxx>
wrote:

Hello Tauno,

There is no danger of a mix-up: a TCP connection is
identified by a set of four numbers: the source IP,
destination IP, source port and destination port.

Hmmm ... thats 12 (IPv4) or 16 (IPv6) bytes only to define a two-way
socket.
As I'm working on a controller with very limited memory (just 2048
*Bytes*
of RAM, which allso needs to hold the ethernet-packet itself as well as
the
stack) I hoped I could use another method to uniquely identify a
connection
: by (ab)using (a few bits of) the new-to-be-assigned portnumber together
with the Acknowledge-number. But alas, that idea is now outof the
window.

Is there a specific reason why you insist on implementing TCP/IP with
such small resources ?

UDP would be much more suitable for such small devices.

Paul



.



Relevant Pages

  • Re: Why healthcare in the U.S. is "expensive" (and why Andres a lumberjack hes ok...)
    ... the USPS and UPS/Fed Ex which was not about cost. ... "Belief" being the operative word here. ... the only reason the USPS doesn't have to concern itself with Customer ... monopolies are efficient distributors of shared resources ...
    (soc.men)
  • Re: Earthquakes and Arcologies
    ... Brian Davis wrote: ... reason to build it a lot stronger and more survivable than we might ... You only build things to mil-spec if survivability is ... unlimited resources, then I agree that over-engineering everything is ...
    (rec.arts.sf.science)
  • Re: Blocking read() policy?
    ... that is not a good enough reason to preempt the process. ... > Wasting resources polling isn't bad? ... >> would require to implement this correctly in the kernel. ... You will be wasting memory on the the list, ...
    (comp.os.linux.development.system)
  • Re: Pure Time Travel Stories?
    ... >> Nancy Lebovitz wrote: ... You have to fit in the magic as a reason. ... >> use the same natural resources, so ... > Why on earth would they have a statue there? ...
    (rec.arts.sf.written)
  • Re: Failed 70-292 and 70-296 today
    ... > I fell that the only good reasons for passing these certifications are: ... > as claimed by Microsoft). ... > If anyone has another good reason, maybe I will give it another try. ... Besides finding a decent manual, using Online web resources from TechNet, ...
    (microsoft.public.cert.exam.mcse)