Re: [ADVANCED-DOTNET] Force a Network Connection

2004-03-03 Thread Philip Christopher
Have you looked into NLA? You might want to take a look at the following MSDN article: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock /winsock/the_role_of_nla_2.asp Phil Christopher -Original Message- From: Mark Rider [mailto:[EMAIL PROTECTED] Sent: Monday, Mar

Re: [ADVANCED-DOTNET] Force a Network Connection

2004-03-03 Thread D.J. Heap
If you are working at the sockets level (as opposed to http or ftp or a webservice, etc) for the upload then programmatically select the local VPN EndPoint with the Socket.Bind method for the upload. Just explicitly call Bind before Connect. DJ Rick Byers wrote: This has much more to with the net

Re: [ADVANCED-DOTNET] Force a Network Connection

2004-03-03 Thread Rick Byers
This has much more to with the network and routing config of the machine then anything you would (or could) do programmatically - especially from .NET code. What you want is that packets to the IP address of the server you want to upload to are always routed through the VPN interface. You'll want