UNIX Socket FAQ

A forum for questions and answers about network programming on Linux and all other Unix-like systems

You are not logged in.

  • Index
  • » Threads
  • » how stuff works on gmail chat...????

#1 2010-06-29 01:51 PM

rahulbdmehta
Member
From: India
Registered: 2010-06-17
Posts: 6

Re: how stuff works on gmail chat...????

can any one please explain me,, what is the concept behind status in gmail....
how does it actually work...
can we do dat using socket programming.. through c language

Offline

#2 2010-06-30 11:23 AM

i3839
Oddministrator
From: Amsterdam
Registered: 2003-06-07
Posts: 2,230

Re: how stuff works on gmail chat...????

It uses XMLHttpRequest object to asynchronously update the status.

You can do it in C, browsers do it all the time, but it's easier to use an
existing HTTP library, either a C one or one for a higher level language
like Python.

EDIT: As far as the server-side goes, I think it just looks like a normal
HTTP request, mostly, but with something else than HTML returned.

Offline

  • Index
  • » Threads
  • » how stuff works on gmail chat...????

Board footer

Powered by FluxBB