473,320 Members | 1,988 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Asynchronous Updates Between Web Clients

I think it's okay to ask this question in this group, but if not please
point me to the correct one!

How does one go about doing asynchronous updates between two web
clients? Take Google Chat for example... how does Google Chat update a
chatter's chat window with text entered by the other chatter?

Sep 24 '06 #1
3 1300

Hi,
How does one go about doing asynchronous updates between two web
clients? Take Google Chat for example... how does Google Chat update a
chatter's chat window with text entered by the other chatter?
Have a look at "AJAX" i.e. at
http://developer.mozilla.org/en/docs...etting_Started

greets

Michael

Sep 24 '06 #2

Bryan wrote:
I think it's okay to ask this question in this group, but if not please
point me to the correct one!

How does one go about doing asynchronous updates between two web
clients? Take Google Chat for example... how does Google Chat update a
chatter's chat window with text entered by the other chatter?
It doesn't work client to client. It works client to server, both
clients communicating with the server as the bridge.

User types message into Client 1. Client 1 sends message to server.
Server stores message. Client 2 polls server for new messages, server
sends message to client 2. Client 2 displays message to User 2. User 2
enters message. Client 2 sends message to server....on and on and on.

Sep 24 '06 #3

It's either "pull" or "push".

"Pull" is a more standard out-of-the-box way when clients are pulling
server periodically for updates (usually, using Ajax requests on the
background).

"Push" is more advanaced technique where server is sending data to the
clients. It's supposed to be less resource-consuming but it's not
widely supported, some people might say it actually consumes even more
resources as it requires the server to keep open connections to all
clients. Google for "comet Ajax".
http://www.ajaxian.com/archives/come...x-applications,
for example

Sep 24 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Darren Thomas | last post by:
Dear all, I have written a TCP server as a windows service that accepts connections using the System.Net.Sockets.Socket class. I use the various asynchronous methods in the socket class. I'm...
5
by: Daniel J Rodriguez | last post by:
Greetings everyone! This is a fairly broard question.. But should be enough to suffice for an answer. Currently we are making an entreprise database server. We will be using C# - my question is...
1
by: Natalia DeBow | last post by:
Hi, I am working on a Windows-based client-server application. I am involved in the development of the remote client modules. I am using asynchronous delegates to obtain information from...
7
by: Colin | last post by:
I'm writing a little console socket server but I'm having some difficulty. Can I ask your advice - where is the best place to get some help on that topic? It would be nice if some people who knew...
4
by: taskswap | last post by:
I have a legacy application written in C that I'm trying to convert to C#. It processes a very large amount of data from many clients (actually, upstream servers - this is a mux) simultaneously. ...
4
by: Macca | last post by:
I am writing an application that uses asynchronous sockets to get data over ethernet from embedded devices, up to 30 concurrent devices.(These devices are written in C). My application...
1
by: Macca | last post by:
Hi, I am implemeting an asynchronous socket server in my app. There will be up to 30 clients sending data to the socket server. Within the socket server I will have a number of local variables...
4
by: Engineerik | last post by:
I am trying to create a socket server which will listen for connections from multiple clients and call subroutines in a Fortran DLL and pass the results back to the client. The asynchronous socket...
12
by: bullockbefriending bard | last post by:
I am a complete ignoramus and newbie when it comes to designing and coding networked clients (or servers for that matter). I have a copy of Goerzen (Foundations of Python Network Programming) and...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.