开发者

How to tell my .NET application which IP address to request from?

If I have a Windows server with more than one IP address, how do I pro grammatically tell different instances of my application to use a different IP 开发者_运维问答address when communicating with the internet?


Set ServicePoint.BindIPEndPointDelegate.


I managed to get round this problem by setting up port forwarding, so the server thought it was just using a different port, but from outside the router it looks like it's using a different IP address. I remember coming to the conclusion that a server can only be assigned one IP address, even if it receives from several.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜