How To Create Chat Room For Mobile?

How to create flash +php online chat room?

  • Hi I want to create a flash chat room using only flash and php (no MySQL, Xml or other way in which there is an intermediate file involved). Why? Because I want the messages to appear instantly (I don’t want the users to wait for they’re actual message to be written in a temporary file which after a while to be viewed by the other client) and the amount of data transferred to be minimal (that way the server won’t jam if more users are using it). Thank you

  • Answer:

    You could actually do this with Ajax (ie Asynchrnonous javascript, and a php server script.) Ok so there's still some polling, but realize that you will never be able to have a successful peer to peer chat application. Reason being: firewalls and NAT.

immortal... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

A good idea. You server side code only provides / maintains connections and identities while your client code runs direct connections to the the other clients. Also a little risky in terms of security. I know this is done in java easily, so if you found java code you could probably replicate it in flash (but I am not familiar with flash so take it as a guess).

sheeple_rancher

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.