http://code.google.com/p/sokit/
email: sinpowei@gmail.com
this is a TCP / UDP package send & receive & transfer tool
UDP模拟:
115是remoteIP
可以看到对面发过来的数据,长度为10 的byte[],定义了5个长度为16位的数据,故每个数据占2。
比如第一个01AB,16进制转换为十进制是427。第二个0001就是1。
http://code.google.com/p/sokit/
email: sinpowei@gmail.com
this is a TCP / UDP package send & receive & transfer tool
UDP模拟:
115是remoteIP
可以看到对面发过来的数据,长度为10 的byte[],定义了5个长度为16位的数据,故每个数据占2。
比如第一个01AB,16进制转换为十进制是427。第二个0001就是1。