views:

43

answers:

1

Is there any Example of PHP user to user chat on sockets?

A: 

There's no such thing as "user to user" chats on the Web. Web-based chats all pass through a webserver, as there's no practical foolproof way to get two client browsers to open up a direct communications link between the two.

If you're dealing with web-based communications, better accept that all communications are client <-> server, not client <-> client.

That being said, you can have Flash open up links to other servers, using crossdomain.xml, but that still requires server involvement.

Marc B