发布时间:2015-04-21 15:29:34
平时,你在多媒体软件的设计中是怎样处理声音文件的呢?使用Windows 提供的API函数 sndPlaySound来实现WAV文件的播放?但是,你有没有遇到过这种情况呢:当WAV文件大于可用内存时,sndPlaySound 函数就不能进行播放!!!那么,如何利用MCI播放大型音频文件呢? 本文将介绍一种方法。 Windows支持两种RIFF(resour.........【阅读全文】
发布时间:2015-04-10 15:35:57
sendmail.sh:curl -o /tmp/email -s -d "smtp=${SMTP}" -d "from=${FROM}" -d "user=${USER}" -d "pass=${PASS}" -d "to=${TO}" -d "title=${TITLE}" -d "content=${CONTENT}" -d "ssl=${SSL}" -d "port=${PORT}" http://127.0.0.1/mail.phpcurl 用法:有些符号在URL中是不能直接传递的,如果要在URL中传递这些特殊符号.........【阅读全文】
发布时间:2015-04-02 11:35:19
SSL vs TLS vs STARTTLSThere's often quite a bit of confusion around the different terms SSL, TLS and STARTTLS.SSL and TLS both provide a way to encrypt a communication channel between two computers (e.g. your computer and our server). TLS is the successor to SSL an.........【阅读全文】
发布时间:2015-03-13 14:22:40
点击(此处)折叠或打开#include <stdio.h>void procd_rec(int n, void *cmd);void procd_ntrip(int n, void *cmd);void procd_init(int n, void *cmd);void procd_memory(int n, void *cmd);void procd_moni.........【阅读全文】
发布时间:2015-03-13 09:18:59
gethostbyname() -- 用域名或主机名获取IP地址 #include <netdb.h> #include <sys/socket.h> #include <unistd.h> #include <sys/types.h> #include <netdb.h> &n.........【阅读全文】