c++ socket accept, list of connected clients

Discussion in 'Game Development (Technical)' started by mymot, May 6, 2018.

Tags:
  1. mymot

    mymot New Member

    Joined:
    May 6, 2018
    Messages:
    1
    Likes Received:
    0
    Hello, i have a few question about socket in c++!
    First question, let's say that he writes a server for the game in which he will play 200 people at once, but accept is blocked because he already serves one client, how to deal with it?
    Second question, how to download a list of all currently connected clients, so that you can then send a package to everyone?
     
  2. bantamcitygames

    Administrator Original Member Indie Author Greenlit

    Joined:
    Jul 27, 2004
    Messages:
    1,728
    Likes Received:
    77

Share This Page

  • About Indie Gamer

    When the original Dexterity Forums closed in 2004, Indie Gamer was born and a diverse community has grown out of a passion for creating great games. Here you will find over 10 years of in-depth discussion on game design, the business of game development, and marketing/sales. Indie Gamer also provides a friendly place to meet up with other Developers, Artists, Composers and Writers.
  • Buy us a beer!

    Indie Gamer is delicately held together by a single poor bastard who thankfully gets help from various community volunteers. If you frequent this site or have found value in something you've learned here, help keep the site running by donating a few dollars (for beer of course)!

    Sure, I'll Buy You a Beer