WCF Channel connection with dual NICs

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?cHdt?=

    WCF Channel connection with dual NICs

    When we write a WCF client to run on a machine with a single network
    interface card, we create a channel of type T with a statement something like
    this:
    T proxy = ChannelFactory< T>.CreateChanne l(new BasicHttpBindin g(), <some
    endpoint>);
    Now assume that the client machine has more than one network interface card.

    How does one create the channel so that it will make its connection through
    a specified NIC on the client machine?

    Thanks,
    Phil
  • John Saunders

    #2
    Re: WCF Channel connection with dual NICs

    "pwm" <pwm123@newsgro ups.nospamwrote in message
    news:8D061A60-20D8-4B69-B3A1-2A53EE4775BF@mi crosoft.com...
    When we write a WCF client to run on a machine with a single network
    interface card, we create a channel of type T with a statement something
    like
    this:
    T proxy = ChannelFactory< T>.CreateChanne l(new BasicHttpBindin g(), <some
    endpoint>);
    Now assume that the client machine has more than one network interface
    card.
    >
    How does one create the channel so that it will make its connection
    through
    a specified NIC on the client machine?
    How would you decide which NIC should be used? And how would you know this
    better than the network stack does?

    Just open the channel and let the network stack do its job, unless you've
    got something very special going on.
    --
    John Saunders | MVP - Connected System Developer

    Comment

    Working...