Specifying the Source IP Address of an HttpWebRequest

G

Guest

Is there a way to specify the IP address of an HttpWebRequest? I'll be
running the app on a box with multiple IP addresses on the same NIC card, and
need to control which IP address a request is sent from.

If necessary, I'll use the ServicePoint's BindIPEndPointDelegate, if that
will even work with HttpWebRequest. To complicate matters with a
ServicePoint, the app will actually be sending requests simultaneously from
multiple IP addresses to the same URL. If BindIPEndPoint will work, at what
point will the BindIpEndPoint callback be called if doing HttpWebRequest
asynchronously?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top