这是个通讯程序,通过socket,把接收的消息放入消息对列,同时把队列中的消息通过socket发出去。
-This is the communication process, socket, receiving the news Add to the list news, while the news cohort through socket issued to.
文 件 列 表
bin src makefile CommMain.c CommMsgEnv.c UnionEnv.c UnionLog.c UnionMsg.c UnionSocket.c UnionTCPIPSvr.c lib include CommMain.h CommMsg.h UnionEnv.h UnionLog.h UnionReg.h UnionSocket.h readme.txt
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001445s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.064645s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001100s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001297s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001088s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003222s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000856s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003784s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.019024s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001579s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 143186 [ RunTime:0.024191s ]