TCP/UDP multi-channel open source framework based on KCP

1, Demand analysis At present, there are a lot of information about the principle and mechanism of KCP and the implementation of various versions of KCP on the Internet. I did the KCP correlation analysis of two articles before, which are the principle mechanism and performance testing practice. Our current project is a game with high real-tim ...

Posted by dan1956 on Thu, 20 Jan 2022 06:06:22 +0100

Network programming -- C/S model

catalogue TCP introduction C/S model framework Server side 1. Create socket 2. Bind IP address and port number 3. Use this socket to listen for connection requests 4. When the request arrives, call the accept function to copy the socket and process the request 5. Data communication client side         1. Create soc ...

Posted by The-Master on Thu, 20 Jan 2022 04:15:00 +0100

Detailed explanation of hcip network type and two-layer packaging technology

Network type Point to point: only two nodes can exist in a network segment MA Multiple access--In the same network segment, the number of nodes is not limited. Normally, there is a layer-2 address, otherwise unicast cannot be performed BMA -- broadcast multi-access NBMA -- Non broadcast multiple access The network type is distinguished ba ...

Posted by boo_lolly on Wed, 19 Jan 2022 19:51:50 +0100

Clustering method in protocol reverse engineering for industrial protocols

1, Abstract In this paper, we propose a method to analyze the private protocol structure, which can be used in industrial protocols. The method consists of six modules: traffic collection, message extraction, message size clustering, message similarity clustering, field extraction and session analysis. We use Schneider Modicon M580 to coll ...

Posted by ItsWesYo on Wed, 19 Jan 2022 17:45:51 +0100

day21 network programming

day21 network programming (Part 2) Course objective: learn the necessary knowledge of network programming development. Today's summary: OSI7 layer modelTCP and UDPSticky bagBlocking and non blockingIO multiplexing 1. OSI layer 7 model The 7-layer OSI model may not be easy to understand, so let's explain it through a case: Suppose you ...

Posted by aliento on Wed, 19 Jan 2022 10:45:01 +0100

Use of Supervisor in Python 3

Introduction to supervisor First, let's introduce supervisor. Supervisor( http://supervisord.org )It is a client/server service developed in Python. It is a process management tool under Linux/Unix system. It does not support Windows system. It can easily monitor, start, stop and restart one or more processes. For a process managed by supervis ...

Posted by psymonic on Wed, 19 Jan 2022 08:55:27 +0100

Understand Go language network programming [tcp, udp]

preface This article is not about http Net package, which only introduces the traditional network communication (the http.net package will be updated separately later) 1, Hierarchy of the Internet It is roughly divided into four layers. If subdivided, it can be divided into seven layers 1. Application layer Application layer, prese ...

Posted by Clandestinex337 on Wed, 19 Jan 2022 08:39:47 +0100

SSH Remote Access and control

1, SSH Remote Management 1.SSH (secure shell) protocol SSH: secure channel protocol, which mainly realizes remote login and remote replication of character interface Encrypt the data of both communication parties for remote managementSecurity protocol based on application layer and transport layerEncrypted communication through network a ...

Posted by phpBever on Wed, 19 Jan 2022 04:39:24 +0100

Simple analysis of Netty server startup process source code

Introduction: Netty is a client-side and server-side programming framework based on NIO. It provides asynchronous and event driven network application framework and tools to quickly develop high-performance and reliable network server and client programs analysis: package com.yxj.netty.server; import io.netty.bootstrap.ServerBootstrap; im ...

Posted by barffyman on Wed, 19 Jan 2022 00:09:53 +0100

Layer 3 switching and single arm routing

catalogue 1, Single arm routing 1. Link type 2. Sub interface 3. Overview of single arm routing 4. Configuration command 1) Switch configuration 2) Router configuration 2, Three layer switching technology 1. Three layer switching principle 2. CEF based MLS 3. Configuration of layer 3 switch 1, Single arm routing The physical int ...

Posted by elentz on Tue, 18 Jan 2022 22:28:52 +0100