Initial transport layer TCP protocol and the use of TCP in socket

catalogue I Use of TCP in socket API 1. TCP classes and common methods in socket (1) ServerSocket class used by the server (2) socket class 2. Use ServerSocket to realize the interaction between a simple client segment and the server (1) Graphic thinking (2) Code implementation (3) Operation results II Initial knowledge of TCP Protoc ...

Added by DeGauss on Mon, 21 Feb 2022 06:18:56 +0200

Real time communication chat program -- java network programming

Use TCP to transmit data, write the program of client and server, and realize the real-time communication between the two programs. In each program, the function of sending and receiving data in real time is realized. io interface of client Server side io interface io demo The program takes ...

Added by daneilair on Sun, 20 Feb 2022 16:50:53 +0200

Design and implementation of port scanning tool based on C language

lfy: Go realizes four scanning modes and comparisonjyx: C realizes four scanning modes and comparison 1, Technical principle Port scanning technology sends detection data packets to the TCP/UDP port of the target system, records the response of the target system, and analyzes the response to view the services of the system in monitoring or ru ...

Added by clearstatcache on Sun, 20 Feb 2022 12:41:51 +0200

LengthFieldBasedFrameDecoder custom protocol solves the problems of sticking and unpacking

1, Introduction 1.1 function of lengthfieldbasedframedecoder The LengthFieldBasedFrameDecoder can customize the length to solve the problem of TCP packet sticking. Therefore, it is also called "basedlength" 1.2 TCP packet sticking and packet sticking TCP sticky packet refers to that several data packets sent by the sender are glu ...

Added by v4g on Thu, 17 Feb 2022 14:56:04 +0200

How the network is connected: Chapter 2 is the packet sending and receiving operation of IP and Ethernet

The book is based on a simple scenario: the user enters a URL into the browser and returns the response, which is the life cycle of a network request. The book is divided into six parts: The application layer client generates HTTP and delegates it to the protocol stack of the operating systemThe protocol stack (TCP/IP module) calls the netwo ...

Added by CoderGoblin on Tue, 15 Feb 2022 18:12:02 +0200

Summary and implementation of socket

Introduction to socket Socket originally means "socket". In the field of computer communication, socket is translated as "socket". It is a convention or a way of communication between computers. Through the socket agreement, a computer can receive data from other computers or send data to other computers. According to the ...

Added by suzzane2020 on Tue, 08 Feb 2022 09:44:53 +0200

Stack overflow caused by asynchronous cyclic collection of. NET TCP/IP Socket

We know NET TCP/IP Socket asynchronous circular charging official and most examples are circular charging, but in fact, this method has the problem of stack overflow. MD, after receiving the Stack Overflow program, it will collapse directly. At present, there are several ways to solve it. Stack Overflow is very wild compared with the several w ...

Added by kanenas.net on Tue, 01 Feb 2022 21:22:05 +0200

How to connect the network: Chapter 2: a life cycle of TCP connection | CSDN creation punch in

The book is based on a simple scenario: the user enters a URL into the browser and returns the response, which is the life cycle of a network request. The book is divided into six parts: The application layer client generates HTTP and delegates it to the protocol stack of the operating systemThe protocol stack (TCP/IP module) calls the netwo ...

Added by countrydj on Thu, 27 Jan 2022 07:33:02 +0200

[punctual atom MP157 serial] Chapter 15 FIFO experiment of IP core - extracted from [punctual atom] STM32MP1 embedded Linux Driver Development Guide v1 seven

1) Experimental platform: punctual atom STM32MP157 development board 2) Purchase link: https://item.taobao.com/item.htm?&id=629270721801 3) Full set of experimental source code + manual + video download address: http://www.openedv.com/thread-318813-1-1.html 4) Official station B of punctual atom: https://space.bilibili.com/394620890 5) Punc ...

Added by mcmuney on Tue, 25 Jan 2022 05:42:58 +0200

2, TCP network programming

catalogue 1, Network programming for TCP 1. Example 1: the client sends information to the server, and the server displays the data on the console ① Client ② Server 2. Example 2: the client sends the file to the server, and the server saves the file locally ① Client ② Server 3. Example 3: Send a file from the client to the server, the s ...

Added by RoundPorch on Mon, 24 Jan 2022 03:59:37 +0200