Click here to Skip to main content
15,867,771 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi frnds...


i m developing chat messenger in c#.net like same as msn messenger.
i am using timer control to get data from database .but problem is that its
not give performance same as msn messenger...


pls help me... how can i achieve this
Posted
Comments
Syed Salman Raza Zaidi 18-Jul-11 9:07am    
What problem is arising?

You have to rethink the logic on how message is handles to the chat clients.
Have one program that handles all chat clients connections and then have the chat clients connect to chat service program.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 18-Jul-11 15:36pm    
I would say, through out the idea and never return to it like the well-known "elegant" biblical saying goes.
My 5.
--SA
You may want to have a look at WCF Peer to peer programing

MSDN[^] and
Sacha Barber's 2007 chat application article[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 18-Jul-11 15:38pm    
Useful, my 5.
--SA
Kim Togo 19-Jul-11 11:42am    
Good links. My 5.

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