multiuser chat program

This is a discussion on multiuser chat program within the Networking/Device Communication forums, part of the General Programming Boards category; can any of you plz send me multiuser chat program..it should hav single program handling both client n server..but it ...

wel i want to see how threads work in chat program..keen to learn threadin..the prog which are available on net hav separate client n server code..i want 1 single code which handles both client and server using threading n multiplexing..

Originally Posted by matsp

What have you done so far to solve this? There are several open source chat programs available on the web - any particular reasons you do not want to use any of those?

So, again, what code have you been looking at. If I find something on the net, in my searches (because I certainly don't have anything sitting on my machine that I could share), then I want to know what you have looked at.

By the way, the difference between fork and starting a thread is fairly minimal as long as the code doesn't use global variables too much.

You never specified a language, so I dont know if C# would be a problem. That being said it is incredibly easy to write something like this in C# with a few hours on the internet, or with one google search there are a couple free ones, a few that even guide you through the process in a tutorial.

Of course this looks like its only a server that can be telnetted to. You would have to integrate in a client. Although I think you'd be hard pressed to find for free exactly what you want in its entirety.