Under normal circumstances it can work normally,when the app do applicationDidEnterBackground: i closed the socket , when do applicationDidBecomeActive: i connect the socket, when connect successed, the server will send me the pubkey to encrypt my message first,then send me the messages which i missed,but sometimes, i can receive the pubkey ,how ever can not receive other messages anymore, but i can send messages normal, can someone tell me why this happened?
Under normal circumstances it can work normally,when the app do applicationDidEnterBackground: i closed the socket , when do applicationDidBecomeActive: i connect the socket, when connect successed, the server will send me the pubkey to encrypt my message first,then send me the messages which i missed,but sometimes, i can receive the pubkey ,how ever can not receive other messages anymore, but i can send messages normal, can someone tell me why this happened?