hi,
Iam exploring wcf.I have created a chat application using wcf in c#.net.It works properly but i want to add a feature where private chat between 2 clients must be allowed.When i send message all clients can view it.but what if i want to give a direct message to a particular client.Iam using netpeertcp.
According to the concept i think, i will have to create a new chat mesh between 2 clients required to pass message.I need to use pnrp tp resolve the addresses of clients so that i can identify the peer to chat with.
But i really dont knw how can i achieve this through code.iam new to wcf but know the concept as i went through number of msdn articles.how should i start the code?where should i write it?i just want a start n support so i can explore it further.
I really would be pleased n thankful if someone would help me in any way they can.waiting for a reply .
THANKS.
Mumtaz.
Loading
Mumtaz SuraniPosted Sep 21, 2009, 3:23 AM
Iam waiting 4 the reply....could any one respond me plzz if possible...i just need a start for the idea so i can move further...plz reply as fast as possible..
Thanks.
Mumtaz SuraniPosted Sep 18, 2009, 6:34 AM
I had seen that link before but my criteria is to use NetPeerTcp binding so that my service works on port 80.that article is very good but it uses basichttpbinding n netTcp.There even creating proxies will be a problem.Can u plz suggest me how to identify a particular peer or node to communicate with amongst all peers.For that i will have to resolve the IP addresses of peers so that i can identify a particular peer and pnrp is used for that.I really want a start of the code so i get a click n proceed further.
I think ill need to create a new chat mesh for two nodes to talk privately.i may be wrong in my concepts ,u can correct me.as in i dnt knw where n how the code will start .i need a start plz.
Iam waiting for reply..
thanks
Master BillaPosted Sep 18, 2009, 4:14 AM
you can get sample code
http://www.codeproject.com/KB/WCF/WCFWPFChat.aspx
thank you