简体   繁体   中英

How can I connect to a website with different IP Address?

I want to perform load tests on my website, so I need a way to connect to the website using dynamically different ip Addresses. is There a possible way to do this in java or C++?

If you want to connect from different addresses you have two choices, be on that address when you connect or connect through a proxy. The second option is your best, you'll just need to find a proxy (or proxies) through which you can connect.

Your host needs to know about these addresses before you can use them. You can add many virtual addresses to the same network adapter. When you create a socket you can specify a source address. You can do this in Java or C++.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM