电脑开发与应用
電腦開髮與應用
전뇌개발여응용
COMPUTER DEVELOPMENT & APPLICATIONS
2013年
4期
1-5
,共5页
李纪欣%王康%周立发%章军
李紀訢%王康%週立髮%章軍
리기흔%왕강%주립발%장군
Protobuf%Socket%序列化%TCP/IP%解包
Protobuf%Socket%序列化%TCP/IP%解包
Protobuf%Socket%서렬화%TCP/IP%해포
Protobuf%Socket%serialization%TCP/IP%unpack
Socket是网络通信应用程序对应的进程和网络协议之间的接口,适用于网络环境中的进程间通信.Google Protocol Buffers是一个用于序列化结构化数据的技术,用来持久化数据或者序列化成网络传输的数据.介绍了Linux平台下运用Protobuf实现TCP Socket通讯的原理,并通过一个C++编写的C/S程序检验基于Protobuf技术网络收发包的正确性.
Socket是網絡通信應用程序對應的進程和網絡協議之間的接口,適用于網絡環境中的進程間通信.Google Protocol Buffers是一箇用于序列化結構化數據的技術,用來持久化數據或者序列化成網絡傳輸的數據.介紹瞭Linux平檯下運用Protobuf實現TCP Socket通訊的原理,併通過一箇C++編寫的C/S程序檢驗基于Protobuf技術網絡收髮包的正確性.
Socket시망락통신응용정서대응적진정화망락협의지간적접구,괄용우망락배경중적진정간통신.Google Protocol Buffers시일개용우서렬화결구화수거적기술,용래지구화수거혹자서렬화성망락전수적수거.개소료Linux평태하운용Protobuf실현TCP Socket통신적원리,병통과일개C++편사적C/S정서검험기우Protobuf기술망락수발포적정학성.
Socket is an interface between the corresponding process of network communication application and network protocol. It is suitable for IPC in network environment. Google Protocol Buffers is a technology which is used to serialize structured data. It can perpetuate data or serialize it into network transmission data. Introduced using the application of protobuf to realize the principle of TCP Socket communication on Linux platform. A C/S program in C++ is programmed to verify the correctness of the network packets being transmitted or received based on protobuf technology.