I have recently planned a lightweight binary rpc library.

xiaoxiao2021-03-06  58

The Internet is turned on, and most of the RPCs are found to be implemented based on XML cooperation.

It feels that this mode redundancy is too heavy, and it is not applicable to some distributed systems that are relatively high in efficiency.

So I want to write a simple Binary RPC library, based on C / C .

It is mainly designed for the server side of the online game. It is a RPC service design based on fixed service objects, so it doesn't have to worry about the issue of transfer security, and the TCP is used to keep the connection connected to the C / S mode. In the client call RPC, it will be used to perform and call the callback function and the blocking wait for two methods.

转载请注明原文地址:https://www.9cbs.com/read-118851.html

New Post(0)