September 29th, 2003, 11:03 AM
Need to write chat server
I am new (really new) to C, I took a class in school but that was
nine years ago, thatís not a problem I can remember that and
work hard but my boss asked to create a chat server and I found
out that C is the best language to go for.
I like C a lot but I did not have a chance to work on it,
I do Web Applications using PHP and ASP ...
Anybody can guide me where to start or what to do any help
will be appreciated.
All I know that its not gonna be easy :)
Thank you in advance.
Last edited by Najjar; September 29th, 2003 at 11:43 AM.
September 29th, 2003, 11:39 AM
infamous41 has done some work on a chat server. At most, I could help you with questions about sockets programming -- my sockets programming pages, very much still under construction -- start at http://members.aol.com/DSC30574/sockets/index.html .
Are you doing this in Windows or UNIX/Linux? Most of the sockets programming itself is the same except for a few minor changes; I cover those at http://members.aol.com/DSC30574/sockets/winsock.html . Also, multithreading and multiple processes are handled differently on the two platforms.
I suggest that you change the name of this thread to something more descriptive, like maybe "Need to write chat server". Since you're in the C/C++ forum, that it's to be in C should be implicit.
With a more descriptive thread name, you would have a better chance of catching the right person's eye.
September 29th, 2003, 11:46 AM
Thank you so much for you help, I changed the subject as you said.
Do you suggest any good books or sites.
Thank you. :)
September 29th, 2003, 12:09 PM
I am sure you can get completely working chat servers if you google for "chat servers" and "freeware".
September 29th, 2003, 02:59 PM
yea give it a start and let us know how it goes. i posted a windows console based chat server about a month ago for someone else, here is that thread sorry for mistake if you're looking for something to check out. be warned that i wrote it a good 6 months ago, and i would like to think i've learned a lot since then ;) but it is fully functional. g/l h/f.
September 29th, 2003, 03:11 PM
One site that's interesting to browse is freshmeat.net . Many, if not most, of the open-source projects going on are listed there. At the main page, they list the projects that have recently been added or changed. Then you can choose browse to go through their archives of projects.
Choosing the subcategory of Communications and then Chat, I came to this page, http://freshmeat.net/browse/22/?topic_id=22 , which starts us off on more than 16 pages of chat-related projects. They are in any programming language and for various operating systems. Each project has information concerning its version status, operating system, programming language(s), etc. Icons serve as links to download or to go to the project's home page.
September 29th, 2003, 03:31 PM
Another one: http://www.mayukhbose.com/freebies/freespeech.php
Disclaimer: I wrote this a long time ago. Also, it needs a few tweaks to work on NetBSD/OpenBSD. One of these days, I'm going to have to upload the tweaks :)
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
September 29th, 2003, 07:21 PM
Thank you so much guys.
I will go through all these sites and ideas
and I will let you know about the updates
Thank you sooooooooooooooo much :)