문제

I create a Qt4.8x program for Windows which accesses certain site using QNetworkAccessManager. At the moment this utility work directly. But I need to add HTTP and SOCKS5 proxy support using QNetworkProxy. Proxy will work on the customer's machine. How can I check correct proxy work on my own laptop? If we have smtp4dev utility for email, then what simple proxy tester for Windows would you recommend?

도움이 되었습니까?

해결책

I suggest you check that your program correctly uses the proxy server you configure by looking at the output of the command netstat. It is both available on Windows, Linux and OS X.

Just add an option to display the PID of the process that open the connection to check for those open by your program.

If your proxy works you will only see connections opened to its address.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top