Environment

Last updated: 2020-02-28 14:01:00

Downloading the files

Click here to download the file.

General Version

File Description

File Description
WinPcap_4_1_3.exe WinPcap driver, see WinPcap Documentation for details
lib_toa.lib TOA static library
toa_fetcher.h Header file that the static library relies on
pcap.h Header file that the static library relies on

Preparing the environment

  1. Double-click WinPcap_4_1_3.exe to install the WinPcap driver (no restart is required).
  2. Add lib_toa.lib to the .lib library path of the project.
  3. Add toa_fetcher.h and pcap.h to the header file of the project.

Go Version

File Description

File Description
WinPcap_4_1_3.exe WinPcap driver, see WinPcap Documentation for details
toa_win.exe TOA program for Windows server
toa_win.conf Config file of TOA program for Windows server
program_auto_up.bat bat script for Windows server
demo.go A sample program written in Go language, used to access TOA services

Deployment Steps

  1. Modify the toa_win.conf file as instructed below:

    ParameterRequiredDescription
    ToaWinPortYesThe service port of toa_win.exe, used to communicate with TOA client, default is 9999.
    NetworkCardIPYesThis is used to identify the IP address of the network interface, for example, 10.75.132.39. This is the NIC that communicates with the client.
    ServerListenIPYesThe IP address of the server, for example, 10.75.132.39. It is used to filter TCP flows.
    ServerListenPortListNoThe port list of the server. It is used to filter TCP flows. A maximum of 3 ports can be added.
    Either ServerListenPortList or PortRange must be configured.
    PortRangeNoThe port range of the server. It is used to filter TCP flows. A maximum of 3 port ranges can be added.
    Either ServerListenPortList or PortRange must be configured.
    CacheSecondsNoThe length of the cache time, unit in seconds. The default is 15 seconds.

    The configuration file must be placed in the same directory as toa_win.exe.

  2. Modifying program_auto_up.bat.
    Modify the path to the directory where the program is located. Add the script to the scheduled task, and execute on it periodically. The script is used to monitor the toa_win.exe program and automatically activate the program when it exits.

  3. Run the toa_win.exe program. The log is saved to toa_win.log in the same directory. Now, you can get the real IP address from TOA services through UDP communication. For details, see How to Use.

Was this page helpful?

Was this page helpful?

  • Not at all
  • Not very helpful
  • Somewhat helpful
  • Very helpful
  • Extremely helpful
Send Feedback
Help