C + + implementation, supports cross-platform (Windows,android,ios), supports cross-language (C++,c#,java) network libraries

Source: Internet
Author: User

This network library is based on Cppnetworklibrary (http://www.cnblogs.com/winter-yu/p/4688481.html) on the basis of some optimizations and adjustments.

The specific highlights are as follows:

1, support cross-platform, including mainstream windows,android,ios,linux and so on.

2, cross-language, client support C++,c#,java. The server currently only supports C + +.

3, the packet added encryption and compression function, the password will be dynamically randomly modified, rather than the use of a fixed password on both sides to ensure the transmission of data packets security.

4, the client supports peer-to message transmission without requiring the server to do any additional processing.

5, the server supports the cluster (theoretically the amount of concurrency associated with the number of cluster servers and the logical complexity of the servers), and the client between the cluster server can send packets to each other, there is no area service concept.

6, the serialization protocol is Google Protocol buffers, so different languages, different clients, can communicate with each other.

7, all packets and network events are through the event callback, concise and clear, without any network programming experience of programmers can quickly get started.

8, the service side rich log records, including critical crash information, connection quantity statistics, etc., convenient reference.

9, support real-to-peer connection, not through the server forwarding, direct connection (but the connection is successful with the target network access to the NAT device,

If both ends of the peer are symmetric NAT devices, the probability of success will be very low, but even if the connection fails, it will not affect the transmission of the data packets, because if the real connection fails, the server forwards the line will go.

C + + demo and library: Http://pan.baidu.com/s/1pLlERNl

C # Demo and library: Http://pan.baidu.com/s/1eSNQTBc

C + + implementation, supports cross-platform (Windows,android,ios), supports cross-language (C++,c#,java) network libraries

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.