LibRouter description

Router Core Library is a dynamic library which provides feature to analyse network devices (mostly routers and wireless access points) with HTTP-based user interface. Also it provides application programming interface, so you can use it in your own projects.

Disclaimer

This page is just a quick guide, it doesn't cover many aspects and details. It's highly recommended to observe all documented API functions.

Dependencies

LibRouter.dll requires OpenSSL dynamic libraries libeay32.dll and ssleay32.dll in the same directory, or in one of the directories that are defined in path environment variable.

Setting up

First of all it's required to initialize the library to gain access to other functions, then you may want to change some default settings with SetParam function. Also it's important to create and configure application-defined callback functions to recieve results from the router processor.

Router processor

When you ready to scan network devices, choose one from IPv4 range and select needed TCP port number. Then use PrepareRouter function to obtain the handle to the Router object. Once you've obtained a valid handle, you may want to start processing with ScanRouter function. When the processing is done, don't forget to close the Router object handle with FreeRouter function to free some memory.