Click here to Skip to main content
15,878,945 members
Please Sign up or sign in to vote.
1.12/5 (5 votes)
See more:
I have gone through a chatting application in Code Project.

A Simple Chat Application Using .NET Remoting[^]


But it provide only group chat I want to make personal chat as in other messengers.

Please give some idea. I am expecting explanation.
Please don't paste any links because that wont fulfill my problem.

I need only the idea for doing this
Posted
Comments
ZurdoDev 24-Jun-14 10:40am    
You'll have to change the code. Where are you stuck?

Your question, with the demands you placed in it, is unanswerable. Your dumpy nit going to get anyone to type up am entire article in a form post just for you. You're going to get nothing but links to read and you apparently won't read them so you're stuck.

If you want to interoperate with other instant messaging services you're going to have to either give up a ton of cash to the people that own the service or you're going to have to try and parse the network traffic to see how that other service communicates and emulate that in your own code. Good luck with that!
 
Share this answer
 
So you have the sample code - not the best or latest approach but easy to understand. If you really want to base a chat application on .NET Remoting (why not WCF?), it should be easy to just broadcast the message to a specific client not to all - you'll need some "infrastructure" for this. I'd suggest another abstraction-level - kind of "room". So the Server broadcasts messages to all participants in a room and not to all "Clients". So Client would "register" with Server/room combination. Also think about how to handle Login, Security concerns (encrypt Messages?), and who should be you users. Chat-App makes most sense in Internet - but because you want to use remoting I assume yours should be for an intranet?

P.S. As Dave Kreskowiak mentioned - If you want to implement interoperation with other chat applications a naive approach won't do it. - Sorry, but if you have to ask how to create a chat app with remoting, this is may beyond your "comfort zone"...
 
Share this answer
 
Comments
KUMAR619 25-Jun-14 1:19am    
I was asked to do it in Visual Studio 2005 which support only .Net 2.0
That is why I can't use WCF

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900