views:

362

answers:

2

hi friends,

I want to use AsyncSocket class for peer - to - peer chat. I have been able to make a sample chat application where one user can communicate with other user by transmitting messages to server and then from server to other user(s) by using it, but I am finding it some what difficult to manage sockets established in peer - to - peer chat and getting mixed up in server and client delegates provided by AsyncSocket class when both are implemented at one node.

I tried to search some sample code over net which uses AsyncSocket class to establish peer -to -peer chat, but unable to find any!

Moreover, I want to know will it be good to use AsyncSocket class for my requirements (establishing peer - peer chat, video conferencing, voice chat) or there is any better option available?

Thanks for any help,

Miraaj

A: 

Hi Miraj, Did you find any solution. I have a sample application(client-server chat app) written on AsynSocket to test the AsynSocket class before using in my real application. If you need I can provide that.

charith
is it peer-to-peer or via server ??... in both the cases I would definitely like to see the application :)
Miraaj
A: 

Hi charith,

Can you mail me the sample application that you have to email id [email protected].

Thanks in advance !!

TAM
please post this as a comment to charith... do not post it as an answer... thanks!
Miraaj