views:

612

answers:

2

Hi everyone

Is NetTCPBinding supporting Callbacks? If so, please redirect me to any appropriate example. Thanks

+1  A: 

Look into using Duplex Messaging. NetTCPBinding supports it natively, unlike with HTTP, where you need a special binding (WSDualHttpBinding.)

tomasr
Actually, I need to create a chat kind app...(not bidirectinal). There is one Sender app will send to the wcfservice and wcfservice will trigger event at subscribed clients.... So i just need to push from One Sender app to multiple clients (not vice versa)...suggestion?
A: 

Go for duplex communication. At the start of each client, client would register itself with wcfservice, and there after, wcf service will callback to client whenever sender app is feeding wcf!

Sanjay