----------人物上线----------map----- gs2msData------
gs2ms_add_player(协议消息) PlayerChannel OnPlayerEnter--
data(数据包,初始化playerinfo中信息) 1.add_player有个...
分类:
其他好文 时间:
2014-04-29 21:06:35
阅读次数:
397
1、理解socket1)、Socket接口是TCP/IP网络的应用程序接口(API)。Socket接口定义了许多函数和例程,程序员可以用它们来开发TCP/IP网络应用程序。Socket可以看成是网络通信上的一个端点,也就是说,网络通信包括两台主机或两个进程,通过网络传递它们之间的数据。为了进行网络通...
分类:
Web程序 时间:
2014-04-29 20:21:27
阅读次数:
666
先确保本地Linux服务器SSH服务开启,如果没有开启直接执行指令:service sshd
start然后我们使用ssh指令进行远程登陆ssh username@ip-address输入passwd指令修改旧密码修改默认账号rootvi
/etc/passwd按i键进入编辑状态修改第1行第1个ro...
分类:
系统相关 时间:
2014-04-29 15:51:22
阅读次数:
586
2014-04-29
00:56题目:不用算数运算,完成加法。解法:那就位运算吧,用加法器的做法就可以了。代码: 1 // 18.1 add two numbers wihout
using arithmetic operator. 2 #include 3 using namespace std....
分类:
其他好文 时间:
2014-04-29 14:58:53
阅读次数:
383
add the following text to .vimrc or .gvimrc: if
has("cscope") set csprg=/usr/bin/cscope set csto=0 set cst set nocsverb " add
any database in cur...
分类:
其他好文 时间:
2014-04-29 10:27:46
阅读次数:
398
TCP/IP: TCP/IP是 Internet
上广泛使用的通用协议。它与互连网络中硬件结构和操作系统各异的计算机进行通信。TCP/IP包括路由网络流量的标准,并能够提供高级安全功能。它是目前在商业中最常用的协议。将计算机配置为使用
TCP/IP可能会很复杂,但大多数联网的计算机已经配置正确。若....
分类:
数据库 时间:
2014-04-29 10:23:47
阅读次数:
542
You are given two linked lists representing two
non-negative numbers. The digits are stored in reverse order and each of their
nodes contain a single ...
分类:
其他好文 时间:
2014-04-29 10:17:46
阅读次数:
406
/// /// 获取用户的IP地址 /// /// public static string
GetIPAddress() { string user_IP = string.Empty; ...
分类:
其他好文 时间:
2014-04-29 10:16:45
阅读次数:
397
chkconfigchkconfig命令主要用来更新(启动或停止)和查询系统服务的运行级信息。谨记chkconfig不是立即自动禁止或激活一个服务,它只是简单的改变了符号连接。使用语法:chkconfig
[--add][--del][--list][系统服务] 或 chkconfig [--lev...
分类:
其他好文 时间:
2014-04-29 09:48:47
阅读次数:
322
引用自:http://hi.baidu.com/daodaoliangbi/item/d6dcf5af6f6c003c020a4dfc多数代码类似:string
IpAddress = (HttpContext.Current.Request.ServerVariables["HTTP_X_FORW...
分类:
Web程序 时间:
2014-04-29 09:48:46
阅读次数:
440