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 6255835
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T14:26:22+00:00 2026-05-24T14:26:22+00:00

In version 0.6 I used this method to send a message to specific group

  • 0

In version 0.6 I used this method to send a message to specific group of clients. It will exclude the clients with the session IDs in the ‘excludedClients’ array and send to all clients who are not excluded.

var excludedClients = [sessionID1, sessionID2, sessionID3];
io.broadcast(msg, excludedClients);
  1. Is this method still applicable in V0.7?
  2. Is this the best way of doing this?

Hope someone can give me a hand with this, there doesn’t seem to be any solid documentation for Socket IO anywhere, only briefly explained examples on the github page.

  • 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-05-24T14:26:23+00:00Added an answer on May 24, 2026 at 2:26 pm
    1. I believe so; check out the wiki page on 0.6 to 0.7 migration.

    2. If your clients can be grouped logically, you can use rooms.

    Rooms

    Sometimes you want to put a bunch of sockets in one room, and send a message to them. You can leverage rooms by calling join on a socket, and then with the flags to and in:

    io.sockets.on('connection', function (socket) {
      socket.join('a room');
      socket.broadcast.to('a room').send('im here');
      io.sockets.in('some other room').emit('hi');
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have Used Dojo 1.0, but I have some version related questions: When will
I have used the addTTFfont() method within the latest version of tcpdf (5.9.134) to
Salesforce can send up to 100 requests inside 1 SOAP message. While sending this
I have used unsalted md5/sha1 for long time, but as this method isn't really
I have used traditional version control systems to maintain source code repositories on past
well iam trying to get version of IE used by user by using $.browser.version
I used the latest sIFR version, and for some reason it shows the title
How do I determine which version of comctl32.dll is being used by a C#
Is there any way to get the version and vendor of the compiler used
Question Is it possible to get the version of the Java Plugin being used

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.