http://blog.csdn.net/gaoxin1076/article/details/7671752
Socket网络通讯开发总结之:Java 与 C进行Socket通讯
注意以下问题:
1.大端与小端的转换。
2.结构体对齐。
3.Java与C的各种数据类型存储的字节数是不同的: