Home > Backend Development > C#.Net Tutorial > Summary of related articles on communication framework

Summary of related articles on communication framework

伊谢尔伦
Release: 2017-06-13 13:30:15
Original
1584 people have browsed it

I have written an article about c# udp subpackage sending before. The method introduced in this article is an implementation, but there is a disadvantage that an object will increase a lot after serialization, which is not conducive to the use in the network. transmission. Our transmission in the network needs to reduce the size of the transmitted data packets as much as possible, so I referred to some information on the Internet and some open source projects (//m.sbmmt.com/). The open source ones above The framework of Feige transmission is actually to put the data to be transmitted in a byte array according to certain regulations, and then parse the data according to the corresponding format after receiving it. In order to reduce the data, GZipStream compression is also used. Before The problem occurred during decompression, but it has been solved now. First we need to define a format that can represent the packets we transmit data public class PacketNetWorkMsg: IComparable { &nbs

1. c# UDP communication framework based on event model (suitable for network packet encoding and decoding)

Summary of related articles on communication framework

Introduction: I have previously written an article about c#udp subcontracting and sending. The method introduced in this article is an implementation, but there is a disadvantage that after an object is serialized, it will It increases a lot and is not conducive to transmission in the network. Our transmission in the network needs to reduce the size of the transmitted data packets as much as possible, so I referred to some information on the Internet and some open source projects (http://www.fishlee.net/). The open source ones above The framework of Feige transmission is actually to put the data to be transmitted in a byte array according to certain regulations, and then

2. Let me help analyze the choice of architecture.

Introduction: Architecture selection, help with analysis 1. To make a server system, the client is a smartphone (IOS and andriod) 2. The mobile client communicates with the server through the mobile network, and the number of clients is 100,000. 3. How to choose between JAVA framework (such as SSH) and PHP? The technical capabilities of the R&D team are biased toward JAVA, but I have concerns about the number of connections and concurrency of JAVA, and the choice of JAVA in the communication framework (such as

3. , please help analyze

Introduction: Architecture selection, help with analysis 1. To make a server system, the client is a smartphone (IOS and andriod) 2. The mobile client communicates with the server through the mobile network, the client The number of terminals is 100,000. 3. How to choose between JAVA framework (such as SSH) and PHP? The technical capabilities of the R&D team are biased towards JAVA, but they are concerned about the number of connections and concurrency of JAVA, and JAVA is inferior in communication framework ( Such as MIN

4. The choice of architecture, help analyze it

Introduction: The choice of architecture, help analyze it 1. To build a server system, the client is a smart phone (IOS and Android) 2. The mobile client communicates with the server through the mobile network, and the number of clients is 100,000. 3. In JAVA framework (such as SSH) and PHP How to choose between them? The technical capabilities of the R&D team are biased towards JAVA, but they are concerned about the number of connections and concurrency of JAVA, and JAVA is very good at communication frameworks (such as MIN

#[Related Questions and Answers] Recommended]:

Android TCP Communication Framework

The above is the detailed content of Summary of related articles on communication framework. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template