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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:03:46+00:00 2026-06-03T02:03:46+00:00

I have to make a web application for chat which will work as skype,

  • 0

I have to make a web application for chat which will work as skype, like 1 to 1 chat as well as group chat.

Last some days i am researching on google and i come to know following things.

For making speed better, i must use sockets. Database must in involved for storing the history of chat.

Last 1 year, i am working on java but unfortunately never worked on socket connection.

There are some online code available, even i tried to understand it as well but its all gone above my head.

But couple of things i come to know as follows

  1. Server class need to configure the sockets.
  2. client class need to send the message through the sockets.

My question is how i will come to know that a specific message is send to specific group or person…??

As only 1 socket is connecting to all group, a particular message will go to all.

I do not need a example, i just need to make a algorithm right so that i can start work on.

  • 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-03T02:03:48+00:00Added an answer on June 3, 2026 at 2:03 am

    Your server and client will have group property

    So client will send a message lets call it as Message object

    class MessageObject {
    
     String message;
    
     String group;
    }
    

    Your server will have keep a note of all client and depending upon group it will store them say in a map.

    Whenever a new message comes to the server, it will check the group of the message and depending upon it, from the map it will get a list of clients and will write the message on to there stream.

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

Sidebar

Related Questions

I would like to make a web application (PHP) that will have overlay container
I'm trying to make an experimental web application which minimises redundant data. I have
We have a chat application which works on ASP.Net web applications. We want to
I have to make a connection to an XMLRPC site from a web application,
In general, is it better to have a web application make lots of calls
I have a Requirement to make an IMAP client as a Web application I
I have some REST web services implemented in WCF. I wish to make these
I have to make a web application that produces pages that contain panels with
I have a small webshop-like web application, and i have big plans :-) I
I have to make a virtual filesystem in MySql (using asp.net as the web-application).

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.