码迷,mamicode.com
首页 >  
搜索关键字:gcdasyncudpsocket    ( 2个结果
GCDAsyncUdpSocket添加数据发送超时时间
GCDAsyncUdpSocket本身提供的: - (void)sendData:(NSData *)data toHost:(NSString *)host port:(uint16_t)port withTimeout:(NSTimeInterval)timeout tag:(long)tag 方法写入参数timeout默认是不会根据填写的参数来超时的,需要在这个方法的 GCDAs...
分类:其他好文   时间:2015-01-13 17:52:31    阅读次数:707
xcode中的udp接收数据
1.udpclient的初始化udpClient=[[GCDAsyncUdpSocket alloc] initWithDelegate:self delegateQueue:mainQueue]; udpClient.delegate=self; NSError *err; BOOL bre...
分类:其他好文   时间:2014-08-13 18:18:36    阅读次数:276
2条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!