Solved

Talking To Ethernet Card In Windows/MFC

Posted on 2001-07-20
5
331 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 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 200 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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

739 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