CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Chat Server

  1. #1
    Join Date
    Aug 2009
    Location
    Germany
    Posts
    1

    Lightbulb Chat Server

    Hey...

    I am Programming on an small Chat Server Programm using Winsock...

    But now i got stuck in some thinkin issues.
    I am wondering how Big Progs like ICQ MSN etc are handling so many users connecting to their servers...
    I know that they have really powerfull servers.

    even that i know my program wont be used by more than 100 people i am asking myself how i should manage this...

    shall i create a thread for any new client with an new socket?
    shall i use tcp or udp oder raw sockets
    etc...

    im unsure about managing this part of the program...

  2. #2
    Join Date
    Aug 2009
    Posts
    10

    Re: Chat Server

    IOCP helps alot on that, and, sometimes, large-scale servers manage all those clients with many servers, not just one...

    its like a gaming server... if the game gets too big, like a MMORPG server, they have to separate servers into several machines that "communicates" in order to keep the data sync...

    i don't know exactly how to explain, but its something like that :P

    maybe you can get a better answer from a more experienced guy. lets wait...

    obs:
    Sorry if i said something wrong, i'm learning all those things by myself, and, I'm only 17... xD

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured