Click here to download the file.
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 |
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 |
Modify the toa_win.conf file as instructed below:
Parameter | Required | Description |
---|---|---|
ToaWinPort | Yes | The service port of toa_win.exe, used to communicate with TOA client, default is 9999. |
NetworkCardIP | Yes | This 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. |
ServerListenIP | Yes | The IP address of the server, for example, 10.75.132.39. It is used to filter TCP flows. |
ServerListenPortList | No | The 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. |
PortRange | No | The 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. |
CacheSeconds | No | The length of the cache time, unit in seconds. The default is 15 seconds. |
Note:The configuration file must be placed in the same directory as toa_win.exe.
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.
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.
문제 해결에 도움이 되었나요?