ip adresses

hey i was given a project and decided to do something in the networking field, which is what im interested in... so i have decided to make a simple windows application to retrieve an ip address and possibly shut it down remotely... i need help with choosing the best compiler,i currently use code:blocks and some guidance in the steps i need to take and what kinda books should i look into and what headers are available for ip manipulation in code:blocks or best recommended.. for now i more interested in retrieving the ip addresses.. i have approximately 2 months to do this.. that should be enough time i hope. thanks in advance
closed account (Dy7SLyTq)
a) code::blocks is an ide not a compiler.
b) it doesnt matter what ide you use. it depends on the compiler.
c) code::blocks has no headers. it does have a folder for the stl if you get a c++ compiler
d) there isnt much in the stl (maybe nothing) that can do remote networking. you would have to use something like boost, the win32 api, or sfml
This doesn't sound like a "project" remotely shutting down computers sounds more like a RAT feature.
ok thanks.. i tried configuring boost asio with the ide but its so difficult.. no one explains it simply on the internet
The biggest problem with your project I would say is that it is a little too easy: http://msdn.microsoft.com/en-us/library/windows/desktop/aa376872(v=vs.85).aspx

You don't even actually need the IP address but if you wanted to grab it for kicks and giggles: http://msdn.microsoft.com/en-us/library/windows/desktop/ms738520(v=vs.85).aspx

Now if you wanted to do this where you did not have an established domain trust between the two machines things might get a bit more interesting. But right now, starting up WSA and calling two functions seems a bit boring.
Last edited on
Topic archived. No new replies allowed.