Login  
Search All Forums
Dart Home | PowerTCP Sockets for .NET | Custom Development Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
AuthorForum: PowerTCP Sockets for .NET (Secure and Standard)
Topic: Selecting network interface?
cambler

From: Redmond, WA USA
Posts: 102
Member Since: 04/14/03
posted April 27, 2003 1:35 AM

If I have a machine with, say, 4 network cards, how do I create a Tcp object to use a particular interface?

Christopher
cambler

From: Redmond, WA USA
Posts: 102
Member Since: 04/14/03
posted April 27, 2003 1:56 AM

To add - I would have thought that I could set the IP address of the interface that I wanted to use in the LocalEndPoint member, but it's read-only, so that's not an option.

I *must* be missing something obvious :-)

Christopher
Jeff Cranford



From: Rome, NY USA
Posts: 586
Member Since: 05/30/01
posted April 27, 2003 7:04 AM

Two of the Tcp.Connect method overloads allow you to specify a local interface.

ms-help://PowerTCPSockets/PowerTCPSockets/Dart.PowerTCP.Sockets.Tcp.Connect.html
cambler

From: Redmond, WA USA
Posts: 102
Member Since: 04/14/03
posted April 27, 2003 7:45 PM

Thanks, that did the trick. I knew I was missing something obvious :-)

Christopher
Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX