码迷,mamicode.com
首页 >  
搜索关键字:friend    ( 1299个结果
【转载】TCP socket心跳包示例程序
在做游戏开发时,经常需要在应用层实现自己的心跳机制,即定时发送一个自定义的结构体(心跳包),让对方知道自己还活着,以确保连接的有效性。 在TCP socket心跳机制中,心跳包可以由服务器发送给客户端,也可以由客户端发送给服务器,不过比较起来,前者开销可能更大。—— 这里实现的是由客户端给服务器发送 ...
分类:其他好文   时间:2017-07-20 10:15:22    阅读次数:196
手机网页制作的认识(有关meta标签)
近日以来一直在看JQuery Mobile 一个手机开发框架,说实话真的很头疼的~~~~ 因为里面有很多的属性、方法和事件~~~ 下面是手机网页的一些认识: 一、<meta name="viewport" id="viewport" content="width=device-width, init ...
分类:移动开发   时间:2017-07-13 16:35:56    阅读次数:258
CSS命名规范
常用的CSS命名规则 头:header 内容:content/Container 尾:footer 导航:nav 侧栏:sidebar 栏目:column 页面外围控制整体佈局宽度:wrapper 左右中:left right center 登录条:loginbar 标志:logo 广告:banne ...
分类:Web程序   时间:2017-07-12 21:33:49    阅读次数:228
AVL树——高度平衡的二叉搜索树
1 #pragma once 2 3 #include 4 5 template 6 class AVLTree; 7 8 template 9 class AVLNode 10 { 11 friend class AVLTree; 12 public: 13 AVLNode() : data(Ty... ...
分类:其他好文   时间:2017-07-11 23:28:12    阅读次数:348
高阶函数 - 分时函数
/** * 分时函数 * @param {[Array]} ary [数据] * @param {Function} fn [根据数组中的每个数据执行一个fn] * @param {[type]} count [每200ms执行一次start方法,start方法执行count次fn方法... ...
分类:其他好文   时间:2017-07-11 17:48:20    阅读次数:152
ZOJ 3691 Flower(最大流+二分)
Flower Time Limit: 8 Seconds Memory Limit: 65536 KB Special Judge Gao and his girlfriend's relationship becomes better and better after they flying ba ...
分类:其他好文   时间:2017-07-10 13:27:57    阅读次数:225
[LeetCode] Nim Game
You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 ston ...
分类:其他好文   时间:2017-07-10 13:15:16    阅读次数:146
CodeForces - 651C
Watchmen are in a danger and Doctor Manhattan together with his friend Daniel Dreiberg should warn them as soon as possible. There are n watchmen on a ...
分类:其他好文   时间:2017-07-06 14:28:32    阅读次数:250
移动前端的html5 head 头标签
本文主要内容来自HTML head头标签 移动端的工作已经越来越成为前端工作的重要内容,除了平常的项目开发,HTML 头部标签功能,特别是meta标签显得非常重要。 DOCTYPE(Document Type),该声明位于文档中最前面的位置,处于 html 标签之前,此标签告知浏览器文档使用哪种 H ...
分类:移动开发   时间:2017-07-06 11:20:28    阅读次数:236
brain storm 5 July Descendants of the sun
descendants of the sun: from longman: He was a direct descendant of Napoleon Bonaparte. -scend descend ascend to climb to mount(上来) mount (longman): F ...
分类:其他好文   时间:2017-07-06 10:09:42    阅读次数:186
1299条   上一页 1 ... 53 54 55 56 57 ... 130 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!