I have been using .net remoting with client and server on my dev machine, and everything was fine. And then I've located the server on the other machine, connected with my through a 100-Mbit LAN. It has a VPN connection, allowing it to connect to the internet.
Whenever a VPN connection is started, .NET remoting gives out huge lag for every query(1s for 0.03s query and 9s for 1.3s query). But the speed between my machine and the server one with VPN enabled is still 100 Mbit/s.
I'm using binary tcp channel.
Does anyone know of solution to this problem ?