Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
02-09-2007, 12:39 PM #1
A project I'd like to do - Instant messaging system.
I need some advices of how to begin this project.
How can I get information from the other user I'm chatting with instantly?
02-10-2007, 11:57 AM #2
- Join Date
- Feb 2006
- Thanked 28 Times in 27 Posts
what you could do i load it into a db...
field 1 = id (autonumber)
field 2 = message
field 3 = from
field 4 = to
field 5 = received (1 or 0)
you could then use AJAX scripts to look at the db every 5-10 seconds to see if there is any new messages for a specific user if so download them and display them onscreen. There are examples of AJAX instant messenger out there so i would go and have a look at how they work and decide for yourself.
02-10-2007, 02:28 PM #3
Oh, Thanks. That's a nice idea.
It doesn't really feet a real chat because in a real chat nothing saves the conversations and it would be kind of complicated to do it with rooms and private messages, don't you think?
Is there any other way of doing that?
02-11-2007, 04:00 PM #4
Any other ideas? Does anyone know how msn,aim,icq,or any other instant messaging program works? If someone could get me an explanation page about that, it would be great!