Re: Low level network access

From: Dean Ramsier (ramsiernospam_at_nospam.com)
Date: 07/29/04


Date: Thu, 29 Jul 2004 15:01:27 -0400

If you've got your own custom hardware, just write your own driver. It
sounds like you're not interested in the standard OS support for networking
(which is built on an NDIS layer), so whynot write directly to the hardware
yourself? If you control the hardware and don't have to be portable across
different devices, this would do it...

-- 
Dean Ramsier - eMVP
"Allan Bo Jørgensen" <mmmca@mail.dk> wrote in message
news:ugO3nKYdEHA.3308@TK2MSFTNGP11.phx.gbl...
> I'm trying to port an embedded system to CE.NET, and one of the things I
> need to do is access the network at a very low level - basically being
> able to just put an ethernet frame into the controller, and likewise
> just read an ethernet frame from the controller (an interrupt upon
> receival would be VERY nice too). It used to run under Embedded XP and
> plain old W2K, and we used a tailor-made third-party tool to access the
> network adaptor. We can't seem to find a similar product for WinCE,
> however, and the tool provider does not support CE.
>
> I've been looking at NDIS, and it seems to supply the handles for
> solving this. It also looks very complicated and seems to be mainly for
> writing drivers. While it's not entirely clear to me to what extent NDIS
> is directly accessible from userland code, attempts at running what
> little sample code I've come across have failed miserably.
>
> My question is: Are there libraries around that solve this? If not,
> pointers to sample code or relevant information would be very much
> appreciated. I refuse to believe that I'm the only one who has faced
> this problem :-)


Relevant Pages