views:

13

answers:

0

I have a server that needs to receive information from a client, web services was my first thought until a limitation was imposed.

I am not allowed to setup a normal client/server interaction, because the server is not allowed to listen on any ports. The server is allowed to call out, so I'm left with :

  1. Having the server poll from the client and disconnect (stateless).
  2. Having the server initiate a connection with the client and stay connected, if it disconnects attempt to reconnect.

What approach does the community support?

I'm inclined to keep the connection alive, because I think polling would add complexity and more code because I would have to setup queues of items to be sent/received.

WCF will be the technology that I am using, unless someone can mention something else that is useful.