iOS 设置connect超时
摘要:
NSLock *theLock; [theLock lock]; int fd, error; struct sockaddr_in addr; if((fd = socket(AF_INET,SOCK_STREAM,0))<0) { cout<<"Err... 阅读全文
posted @ 2015-04-06 15:45 XCoderLiu 阅读(925) 评论(0) 推荐(0) 编辑
posted @ 2015-04-06 15:45 XCoderLiu 阅读(925) 评论(0) 推荐(0) 编辑