Re: Accessing Data Link Layer with win32



You might already know this, but there are some very tiny TCP stacks out
there. For example, uIP (for "micro IP") claims that it can fit 1 listening
TCP port, 10 TCP connection slots, 10 ARP table entries, a packet buffer of
400 bytes and a simple HTTP server, all inside of a code size of 6.2 Kbytes
and 958 bytes of RAM.

See http://www.sics.se/~adam/uip/index.html . It's designed for 8-bit and
16-bit embedded microcontrollers.



"Todd" <toddbitrode@xxxxxxxxx> wrote in message
news:1181924125.187345.243350@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Is there a standard way to directly read and write frames to the data
link layer? I'm looking into writing windows software that will talk
with some custom hardware that implements a link layer protocol but
doesn't have the resources to implement a full TCP/IP layer.

What I'm hoping for is some sort of standard win32 api calls that can
access the link layer if possible. Does such a thing exist or does
this type of thing require a driver to be written?



.



Relevant Pages

  • Re: C# Server/Client
    ... > into "Remoting" for this task, but it doesn't seem to be a great fit. ... Because of your bare minimum requirements, TCP or even UDP would be a good choice. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Firewall question
    ... lookup's will fallback to TCP if the reply cannot fit a ... >> single UDP packet. ... > for hosts that need to resolve DNS and we've never had to let TCP 53 out as ...
    (comp.security.firewalls)
  • Re: What port shoud be opened for the dns server
    ... >Then the initial request would not fit into 512 bytes and tcp would be ... edns0 supports up to 4096 octets. ...
    (comp.os.linux.security)