Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

how to communicate with rj45(ethernet port ) in c++ ?

Posted on 2012-09-02
3
Medium Priority
?
1,478 Views
Last Modified: 2013-08-07
how to communicate with rj45(ethernet port ) in c++ (dos based) ?
I want to cmmunicate with rj45 in cprogramming  
how to send and receive value through rj45 port ?
how to access it ?
0
Comment
Question by:softwareachiever
1 Comment
 
LVL 36

Accepted Solution

by:
mccarl earned 2000 total points
ID: 38360086
Your options are...

Write code to directly access the Ethernet hardware. However this will mean that you would be writing code that is specific to a certain manufacturer/model of the hardware and that you would have to find the details of this yourself, either via reverse engineering something or asking the manufacturer
Write your code against something like the 'Packet Driver' spec or NDIS spec, and then use an appropriate driver for your hardware. CHeck out http://www.crynwr.com/
If by "dos based" you actually are just talking about a "command line program" that runs in a dos box on Windows, then you can still use the Windows view of Ethernet programming which is via "winsock". You can get plenty of useful info from Google, such as http://www.codeproject.com/Articles/13071/Programming-Windows-TCP-Sockets-in-C-for-the-Begin
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.

578 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