Server calls client behind firewall/NAT

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!
 
G

Guest

im just trying to clarify, what is ur app doing? is it a chap app like AIM or
MSN, or what does it do?
 
A

adebiasio

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.
 
G

Guest

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top