#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2002
    Location
    Tallahassee, Florida USA
    Posts
    53
    Rep Power
    0

    Need to write chat server


    Hi everybody,

    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.
    Firas Najjar
  2. #2
  3. Contributing User
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jan 2003
    Location
    USA
    Posts
    7,255
    Rep Power
    2222
    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.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2002
    Location
    Tallahassee, Florida USA
    Posts
    53
    Rep Power
    0
    Thank you so much for you help, I changed the subject as you said.
    Do you suggest any good books or sites.

    Thank you. :)
    Firas Najjar
  6. #4
  7. I'm Baaaaaaack!
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Jul 2003
    Location
    Maryland
    Posts
    5,538
    Rep Power
    244
    I am sure you can get completely working chat servers if you google for "chat servers" and "freeware".

    My blog, The Fount of Useless Information http://sol-biotech.com/wordpress/
    Free code: http://sol-biotech.com/code/.
    Secure Programming: http://sol-biotech.com/code/SecProgFAQ.html.
    Performance Programming: http://sol-biotech.com/code/PerformanceProgramming.html.
    LinkedIn Profile: http://www.linkedin.com/in/keithoxenrider

    It is not that old programmers are any smarter or code better, it is just that they have made the same stupid mistake so many times that it is second nature to fix it.
    --Me, I just made it up

    The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man.
    --George Bernard Shaw
  8. #5
  9. not a fan of fascism (n00b)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Feb 2003
    Location
    ct
    Posts
    2,756
    Rep Power
    95
    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.
  10. #6
  11. Contributing User
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jan 2003
    Location
    USA
    Posts
    7,255
    Rep Power
    2222
    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.
  12. #7
  13. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,645
    Rep Power
    4248
    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
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2002
    Location
    Tallahassee, Florida USA
    Posts
    53
    Rep Power
    0
    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 :)
    Firas Najjar

IMN logo majestic logo threadwatch logo seochat tools logo