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?
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?