After reading this article, you can enter the big factory for real-time chat. The article makes it clear: chat server + chat client + Web management console.

catalogue   1, Foreword 2, Final effect 1. Chat server 2. Chat client 3. Web administration console 3, Demand analysis 4, Outline design 1. Technology selection 1) Chat server 2) Web administration console 3) Chat client 4)SpringBoot 5) Code construction 2. Database design 3. Communication design 1) Message protocol format 2) ...

Posted by tomhoad on Thu, 10 Feb 2022 02:12:53 +0100

[network communication] select, poll, epoll

  [network communication] select, poll, epoll catalogue [network communication] select, poll, epoll preface 0. Basic principles of network programming 1 network programming (Socket) concept 1, BIO (Blocking I/O) 1.1 traditional BIO 1.2 pseudo asynchronous IO (multithreaded BIO) Communication process of BIO III AIO 4, Multiplex inter ...

Posted by Backara_Drift on Tue, 01 Feb 2022 13:39:06 +0100

Transplantation and use of libpcap

Reference article: Porting libpcap packet capture library to arm platform under LinuxLinux Network Programming -- detailed explanation of libpcaplibpcap usageLibpcap library programming guide – packet captureMethods of network monitoring and sending data packets under linux (i.e. the use of libpcap and libnet class libraries) 1, lib ...

Posted by FrOzeN on Sat, 29 Jan 2022 06:06:37 +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

16, About IO stream separation

1. What is I/O stream separation? Recall the program we wrote before. In the first program, as long as we obtain a socket and successfully connect to the server, we can realize the data exchange with the server, and this data exchange is to send and receive data from the perspective of the client; The process of sending and receiving data ...

Posted by wemustdesign on Sun, 26 Dec 2021 07:25:58 +0100