Hi,
I am trying to making a chat application where a user can connect and message other people who are also connected.
So far i have made something that allows me to message between 2 clients.
I am here because i want to know the proper way of doing. Right know i am simply using Socket I/O. Is this the right way of doing it? Or should i be using C2DM/GCM.
I have read something about using HTTP requests. On a different site i read abut something called XMPP. Now i am really confused as to what i should do.
I would really like to make this properly. I am asking because i would like my application to handle multiple clients. (The server allows connection of multiple clients) but how should they be handled? Using socket IO? What about the speed the sockets?
How do major apps like whats app/other internet messaging services accomplish this?
Thanks.
I am trying to making a chat application where a user can connect and message other people who are also connected.
So far i have made something that allows me to message between 2 clients.
I am here because i want to know the proper way of doing. Right know i am simply using Socket I/O. Is this the right way of doing it? Or should i be using C2DM/GCM.
I have read something about using HTTP requests. On a different site i read abut something called XMPP. Now i am really confused as to what i should do.
I would really like to make this properly. I am asking because i would like my application to handle multiple clients. (The server allows connection of multiple clients) but how should they be handled? Using socket IO? What about the speed the sockets?
How do major apps like whats app/other internet messaging services accomplish this?
Thanks.