Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Talking To Ethernet Card In Windows/MFC

Posted on 2001-07-20
5
Medium Priority
?
335 Views
Last Modified: 2013-12-03
I need to create a small ethernet hub with a PC connected to a number of custom external devices. I don't know much about ethernet as in the past I have utilised something like a CSocket or a PIPE directly using TCP/IP.

In this case the protocol will be directly on the ethernet and I am wondering if there is a developer kit that allows talking directly to the ethernet card under Windows?

Anybody have any experience of this?

Env: VC++ 6.0, Win NT/2K/9x
0
Comment
Question by:sdj_work
  • 2
  • 2
4 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 6301836
Can you be more specific about what you are trying to do.  To me, this question mixes terms incorrectly and really obscures the meaning.

0
 

Author Comment

by:sdj_work
ID: 6301859
The system will be a Windows based PC that needs to talk to a number of external devices. The devices are likely to be electrical signs (say 4 or 5 each with an Ethernet connection) which I need to communicate with.

I need to send/receive messages to/from the signs using the Ethernet protocol and I am assuming that to do this I will need to talk directly to the card (using an Ethernet Packet), via a developer kit of some kind.

Currently I don't know how I am going to talk to the card. My previous experience of networking has been via TCP/IP, hence I have used Windows Sockets that abstract away from the "packet" level of the protocol.

Hope this is clearer?
0
 
LVL 32

Accepted Solution

by:
jhance earned 400 total points
ID: 6301899
>>Ethernet protocol

This is what I mean.  Ethernet is NOT a protocol.  It's a networking physical layer.  Many protocols can be carried over an Ethernet network.

Do you want to use TCPIP?  If so, then WINSOCK is the way to go on a Windows host.

Do you want to use some other protocol?  Unless you are looking for a lot of work for yourself, choose one that has support on your host.

Do you want to send RAW PACKETS?  In that case, you may want to see:

http://www.rawether.net/

for a very useful toolkit and information.
0
 

Author Comment

by:sdj_work
ID: 6325926
I want to send a custom defined very simple 5 byte protocol. Can I send this as a part of a RAW PACKET? It seems that rawether.com is what I need.

I am confused as to where "raw packets" and using my own protocol fit in. You have suggested that these form two different options.
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question