摘要: 第一步:下载win7中的mongodb 2.6安装包第二步:创建一个目录作为数据库目录如d:\docdata第三步:启动mongodb服务 c:\program files\mongodb 2.6 standard\mongod.exe --dbpath=d:\docdata第四步:在cmd中打开m... 阅读全文
posted @ 2014-08-19 14:02 LAOS 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-08-19 13:57 LAOS 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 客户端: client.Host:='192.168.0.104'; client.Port:=8010; client.Send('abc');服务端:procedure Tudpform.myudpserverUDPRead(AThread: TIdUDPListenerThread; c... 阅读全文
posted @ 2014-08-14 11:07 LAOS 阅读(1527) 评论(0) 推荐(0) 编辑
摘要: http://www.ti.com.cn/cn/lit/an/zhct200/zhct200.pdf 阅读全文
posted @ 2014-08-13 22:37 LAOS 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-08-13 22:07 LAOS 阅读(569) 评论(0) 推荐(0) 编辑
摘要: 1.udpclient的初始化udpClient=[[GCDAsyncUdpSocket alloc] initWithDelegate:self delegateQueue:mainQueue]; udpClient.delegate=self; NSError *err; BOOL bre... 阅读全文
posted @ 2014-08-13 16:11 LAOS 阅读(484) 评论(0) 推荐(0) 编辑
摘要: FMicrophone := TCaptureDeviceManager.Current.DefaultAudioCaptureDevice; if Assigned(FMicrophone) then begin FMicrophone.FileName := udpclients.tempsa... 阅读全文
posted @ 2014-08-13 13:45 LAOS 阅读(564) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/whye1974/article/details/17226839 阅读全文
posted @ 2014-08-13 13:29 LAOS 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 需首先引用lamp.h,libmp3lame.a- (void)audio_PCMtoMP3:(NSString *) cafFilePath ToMp3File:(NSString *) mp3FilePath{ NSFileManager* fileManager=[NSFileManag... 阅读全文
posted @ 2014-08-13 13:07 LAOS 阅读(892) 评论(0) 推荐(0) 编辑
摘要: -(void) StartRecord:(NSURL *) recordedFile{session = [AVAudioSession sharedInstance];session.delegate = self;NSError *sessionError;[session setCategor... 阅读全文
posted @ 2014-08-13 13:05 LAOS 阅读(804) 评论(0) 推荐(0) 编辑