Solved How to use the C language to operate the router

January 7, 2014 at 06:04:57
Specs: Windows XP
How to use the C language to operate the router?
The use of C language to control the router in the XP system, need to do?
Please help me!
Thank you

See More: How to use the C language to operate the router

Report •

January 7, 2014 at 07:02:58
I never heard that C language is needed to operate a router of whatever brand. SOHO routers are accessed and configured via browser interface and more complex professional ones are accessed by a RS232 serial port using specific commands.

Report •

January 7, 2014 at 07:41:42
I guess if you know enough about the OS used in the router, and had an SDK kit for it, then you could write C programs to control it. Or, if it has a CLI you could write a program that used telnet to send commands to it. Both would presuppose pretty good knowledge of the router (at the very least the make and model) and this is hardly the sort of question that can be dealt with in a forum post.

Report •

January 7, 2014 at 09:37:31
✔ Best Answer
It really depends on the nature of the control. If it's just configuring it through the web interface, then any HTTP or Telnet library should work.

If it's it's "control" as in custom firmware, then I'd start by looking for open source firmware compatible with the router.

There are also UPnP libraries out there if you're just looking to punch/patch holes in the router firewall.

How To Ask Questions The Smart Way

Report •

Related Solutions

Ask Question