Jump to content
  • Advertisement
Sign in to follow this  
NewbJ

Connection to hardware?

This topic is 5140 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've been learning C++ for awhile, and how have become interested in the networking and physical (ports, etc.) aspects of the computer. I searched google for resources on networking and stuff, but they weren't much help...basically what I'm looking to do is 1) learn networking and 2) learn how devices and stuff physically connect to the computer, and how to monitor, change, control, etc. those connections (obviously I can control my printer with printer software, but I mean how to write my own). do you know of any good resources or have any advice yourselves on this?

Share this post


Link to post
Share on other sites
Advertisement
If you actually want to get down to a low level and control things you pretty much have to write a device driver in most(all?) modern OSes. Windows won't let you access things like that without going through their API, which in turn speaks to a driver. Direct hardware accesses are pretty much reserved for what are called "Ring 0" processes, such as drivers and the OS. Applications run at a higher ring. This is the way modern OSes are set up.

You could experiment a bit with such things in a DOS type environment, but the windows Dos prompt won't cut it. Perhaps DosBox or Bochs(emulators) would be sufficient but I'm not sure.

Its great that you want to know about this stuff. But I'd have to say that Sockets programming is about as close as I ever want to get to the NIC/Modem!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!