Network Debugging Assistant Simple Tutorial

1. Open the network debugging assistant. The version I use here is 5.0.3. The usage methods of each version are similar.
insert image description here
2. Use this software to build a TCP server, select the TCP Server protocol in the protocol type, the local IP address will generally be automatically filled in the local IP by default, if there are multiple IPs, you can also modify it yourself, and the port number is set to less than 65536 an unused port number, and click Connect.
insert image description here
3. If the parameters set in the previous step are correct and the port number is not used, the connection button will automatically change to the following state, indicating that the server configuration is successful.

insert image description here
4. Next, configure the client. It should be noted that usually we only need to use the server or client in the debugging process. The device we debug is the server or the client. For the convenience of demonstration, it is demonstrated at the same time. Same as the setting method above, select TCP Client as the protocol type, fill in the server IP address and server port number, click connect, if the server is normal, the connection button will automatically become a disconnect button, and the input status of various parameters will be locked. Because there is no device simulation here, it will not be shown, and the steps are the same.
insert image description here
5. Enter the information to be sent in the send input box, hello world, and click send. As shown in the figure, the server receives the information from the client and displays the client's IP and port information at the same time. The bottom right corner also shows the current cumulative number of bytes received.
insert image description here
6. We can also set hexadecimal transmission in the sending area and receiving area on the left. This function is especially useful when debugging hardware devices. You can see the most original information sent by the network port, especially some characters that cannot be displayed. .
insert image description here

(Refer to the following link for the analysis of escape character instructions: http://www.cmsoft.cn/assistcenter/help/assistscript/)

7. The above are common tutorials for network debugging assistants, which can be used as a reference for friends in need, to learn and work together! ! ! (Suggestion: Do not use software to update to new versions, sometimes some classic old versions are more practical)

Guess you like

Origin blog.csdn.net/weixin_45127646/article/details/128035366