Server calls client behind firewall/NAT

  • Thread starter Thread starter adebiasio
  • Start date Start date
A

adebiasio

I have an application where the server needs to call the client.

I have a framework working with .net remoting where the client and
server are on the same network and the server can call the client. But
what happens when the client is behind a firewall/NAT.

For example, with Messenger, its server contacts you, the client, when
one of your buddies logs on or off. How does the Messenger server
contact the client?

My app currently uses remoting, but I would switch to sockets if it is
applicable.

Any ideas?
Thanks!
 
im just trying to clarify, what is ur app doing? is it a chap app like AIM or
MSN, or what does it do?
 
Yes, one aspect of the app is a chat. I also using remoting in the
client to connect to a management server where certain policies and/or
options can be set. The management server can also contact the client
of policy changes. But if the client is behind a firewall/nat, how can
the server connect to the client?

Thanks for you input.
 
i would try using TCP sockets in the Net.Sockets namespace. Ive used these
with great success. if your program controls all changes to both computers,
its very easy to handle. let me know if u need sample code
 
Just letting you know, i sent u an email with the code file attached. long
subject and it has the dotnet forums and TCP Sockets in the subject....hope
it helps, if you need more help, feel free to email me on the same address
 
Back
Top