-3

Possible Duplicate:
Web based text chat?

I want to create a webpage which allow me to share what i write in textbox and write it in the other host open the website ... anyone can help ?

thank you

amen

Community
  • 1
  • 1
Amen Mohamed
  • 31
  • 1
  • 2

2 Answers2

0

store the 'writings' centrally (in some database)

then all hosts query from there.

Randy
  • 16,480
  • 1
  • 37
  • 55
  • i have this idea in my mind but im afraid about the delay , i need so rear time , do u have any idea about the delay? – Amen Mohamed Jul 11 '11 at 15:12
  • the delay will depend on your database, which in general should be very tunable for this activity. – Randy Jul 12 '11 at 18:07
0

I think the most basic method is by using ajax calls. One on every keyup to send the message the first host is typing. And one every second or so to get the message being typed.

Another method is by using web sockets

Jayne Mast
  • 1,427
  • 1
  • 16
  • 32