socket.io-client ver 1

393 views
Skip to first unread message

utan

unread,
Feb 7, 2014, 7:27:42 PM2/7/14
to sock...@googlegroups.com
Hi,

 Does anyone how to reconnect in socket.io-client ver 1 ?

 example:

   var ioclient io( uri , { 'reconnection': true } );

   tried also

   var ioclient io.connnect( uri , { 'reconnection': true } );


   Ver 0.9 if I stop the server client would reconnect immediately..

utan

unread,
Feb 8, 2014, 2:42:46 PM2/8/14
to sock...@googlegroups.com
any help.

David Milligan

unread,
Feb 10, 2014, 4:22:53 AM2/10/14
to sock...@googlegroups.com
Did you try catching the on disconnect event?


--
You received this message because you are subscribed to the Google Groups "Socket.IO" group.
To unsubscribe from this group and stop receiving emails from it, send an email to socket_io+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages