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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T16:57:41+00:00 2026-06-04T16:57:41+00:00

I am trying to make a web chat application which interacts with gtalk. was

  • 0

I am trying to make a web chat application which interacts with gtalk. was successful in sending messages to the gtalk user from my app. I am able to receive the message on to my server also if the gtalk user pings me from the other end, but the problem is how do I know that there is a message waiting. I could only think of an ajax hit every 5 secs or something. Is there a better way to implement it?

Thanks for your time.

  • 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-04T16:57:43+00:00Added an answer on June 4, 2026 at 4:57 pm

    According to your question, I think you’re searching something like a push mail system, that is, you are trying to get a push from server to browser. But,I don’t think there is any better way than an ajax hit every 5 seconds.

    There is a way with Comet, it doesn’t do the trick so well. See here

    But, in HTML5 you have socket. you can get more about socket from following links:

    http://en.wikipedia.org/wiki/WebSocket

    https://stackoverflow.com/questions/4262543/what-are-good-resources-for-learning-html-5-websockets

    So considering all aspects, it will be better to go with your choice.

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

Sidebar

Related Questions

I'm trying to make a web page which lists unanswered calls from CDR. On
Hello I'm trying to make a simple web chat, and I want the user
I'm trying to make an experimental web application which minimises redundant data. I have
I am trying to make a simple web app. I have a User table
I'm trying to make a theoretical web chat application with php and jquery ,
I am trying to make a web app in Dashcode that uses a range
I am trying to make my web app compatible with international languages and I
I am trying to make a web service call from PHP to a SOAP
I'm trying to make sure my web application is always centered on the screen
I am trying to make a very simple web-service which does the following: The

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.