how to communicate protocol less

Have a question or want to start a discussion? Post it! No Registration Necessary.  Now with pictures!

Threaded View


Hello,
I want to communicate with some ethernet hardware (not a PC) wich is
something like a "stand alone" ethernet card which do not have anything like
an IP stack. Where I can can some windows C sourcecodes to send and receive
data over ethernet?
Maybe there are better newsgroups for posting this request?
I am glad about any information.
Thank you and regards
Mark



Re: how to communicate protocol less


Quoted text here. Click to load it
The answer is that you cannot communicate without a protocol!

You may want to look at some of the protocols like DECnet, etc. which do not
have a network layer.

BL
--
"The object of war is not to die for your country but to make the other
bastard die for his." - General George S. Patton



Re: how to communicate protocol less



Quoted text here. Click to load it

You can do it using a raw socket in Linux.  There's some sample code
at:

http://www.landshut.org/bnla01/members/Faustus/fh/linux/udp_vs_raw/ch01
s03.html

Try searching for "linux raw ethernet sockets" in google groups.

In Windows, I don't think it's possible without a special driver.  
Perhaps WinPcap has this capability?  See http://www.winpcap.org .  It
can send packets as well as capture them.

Dave

--
D.a.v.i.d  T.i.k.t.i.n
t.i.k.t.i.n [at] a.d.v.a.n.c.e.d.r.e.l.a.y [dot] c.o.m

Site Timeline