Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9008663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T01:59:42+00:00 2026-06-16T01:59:42+00:00

I am new to Websockets. While reading about websockets, I am not been able

  • 0

I am new to Websockets. While reading about websockets, I am not been able to find answers to some of my doubts. I would like if someone clarifies it.

  1. Does websocket only broadcasts the data to all clients connected instead of sending to a particular client? Whatever example (mainly chat apps) I tried they sends data to all the clients. Is it possible to alter this?

  2. How it works on clients located on NAT (behind router).

  3. Since client server connection will always remain open, how will it affect server performance for large number of connections?

  4. Since I want all my clients to get real time updates, it is required to connect all my clients to server, so how should I handele the client connection limit?

NOTE:- My client is not a Web browser but a desktop application.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T01:59:43+00:00Added an answer on June 16, 2026 at 1:59 am
    1. No, websocket is not only for broadcasting. You send messages to specific clients, when you broadcast you just send the same message to all connected clients, but you can send different messages to different clients, for example a game session.

    2. The clients connect to the server and initialise the connections, so NAT is not a problem.

    3. It’s good to use a scalable server, e.g. an event driven server (e.g. Node.js) that doesn’t use a seperate thread for each connection, or an erlang server with lightweight processes (a good choice for a game server).

    4. This should not be a problem if you use a good server OS (e.g. Linux), but may be a limitation if your server uses a desktop version of Windows (e.g. may be limited to 200 connections).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

It looks like Websockets in HTML 5 will become a new standard for server
I would like to find a good (up-to-date) Java Trail type beginning tutorial on
New to PHP and MySQL, have heard amazing things about this website from Leo
i would like to know how the update messages in this stack overflow site
How would you go to create a streaming API with Node ? just like
Is there a Java-applet implementation of HTML5 WebSockets? I'd like to use WebSockets for
I saw there are a couple of similar threads but i could not find
I made some research before asking this question but I couldn't find a concrete
i have a few questions about real time applications. Comet vs Websockets, what is
I'm new to WebSockets. I read a lot of info on the subject and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.