tags:

views:

94

answers:

3

We have a client server application which we are developing in .net. We want the server to push data to client. But the client is behind a router (like a home network setup). What are the various options to implement this in .net?

+2  A: 

Assuming the router includes NAT and Firewall, you need to configure the router to allow an inbound connection to be directed to the machine.

Richard
+2  A: 

@Richard is correct, you're really asking about NAT. Another option is to have the client connect out to the server and pull in information that way.

stimms
+2  A: 

The only way to push data to a client behind a router is if the client sets up some port forwarding on his router. Its something you'll generally want to avoid having to help the client configure.

Is it possible the client can instead periodically contact the server to check for data? In this scenario because the client makes an outbound connection it will be able to pull data back.

PaulG