mpush-client-oc icon indicating copy to clipboard operation
mpush-client-oc copied to clipboard

Mpush Client Object-C

Results 8 mpush-client-oc issues
Sort by recently updated
recently updated
newest added

NSData *lengthData = [MessageDataPacketTool getsubdata:data withRange:NSMakeRange(0, 4)]; int length = 0; [lengthData getBytes: &length length: sizeof(uint32_t)]; NTOHL(length); IP_PACKET ipPacket; ipPacket.length = length; ![image](https://user-images.githubusercontent.com/5100958/34037915-71ae6418-e1c5-11e7-9ca2-5f0e422aa9ec.png) 很明显这个length应该是错误的,也不清楚是什么原因

求助,怎么利用socket连接HTTPS请求?

给同一用户在同一时间发送五条消息,抓包显示收到了五条,但是mpush只接收到了一条或两条。这是什么原因,怎么设置那? SOS

-(void)socket:(GCDAsyncSocket *)socket didConnectToHost:(NSString *)host port:(uint16_t)port{ NSMutableDictionary *settings = [[NSMutableDictionary alloc] init]; [settings setObject:[NSNumber numberWithBool:YES] forKey:GCDAsyncSocketManuallyEvaluateTrust]; [self.socket startTLS:settings]; } 在原有基础上增加上面代码,还是无法正常访问https server, - (void)socket:(GCDAsyncSocket *)sock didReceiveTrust:(SecTrustRef)trust completionHandler:(void (^)(BOOL))completionHandler 这个回调方法不执行··· 多谢

NSData *bodyData = [data subdataWithRange:NSMakeRange(13, length)]; length有时候会越界

我已经模仿Android完成了踢下线的功能 烦请介绍下iOS demo了没有的消息类型的使用

mpush对 粘包 怎么处理啊

Hi 您好,mpush 的 oc 客户端 demo 点击连接后,请求超时,是服务器的问题吗?谢谢。