2/21/2011 3:49:55 AM
Title:
LAN lost in red5
hi,
i have one to one chat application connected with red5 uisng flex. when local Area Connection (LAN) lost at one user end , i would like to broadcast a message to the other user notifying about the lost netconnection at other user end.
is there any way to do using red5 and flex.
i am trying to use getlastpingTime() function at server side but could not get succeeded. Any help is appreciated.
Thanks & Regards,
niki
2/21/2011 9:15:06 AM
in this case you need to create a shared object on the server side and same on client side also. On disconnection of any user insert a message into that sharedobject so that all connected users can be informed about the disconnected user.
This case is already handled in most chat applications, there is a list of connected users and as soon a user is disconnected he is removed from the list.