Solved

Talking To Ethernet Card In Windows/MFC

Posted on 2001-07-20
5
329 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
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

790 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