how to communicate protocol less

Jan 29, 2006 2 Replies

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


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

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

formatting link

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

formatting link
It can send packets as well as capture them.

Dave

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required