Summary of Unix network programming -- simple server implementation
1. Preface
To realize a simple server, it needs several steps to establish a connection with the client and receive the data from the client for processing. The figure above shows the basic socket functions needed to implement the TCP client / server program. This article focuses on the implementation of server-side.
2.sokcet()
First, call ...
Posted by tejama on Sun, 13 Feb 2022 15:13:19 +0100
[jsp] [multi word and multi picture] [learning notes] Java Web Learning Trip in winter vacation 1.4
Today, all the train tickets have been bought. I feel closer and closer to Xiagong 🤗, Yada ðŸ˜ðŸ˜ðŸ˜ðŸ˜ðŸ˜
1. jsp first entry
1.1. What is jsp
1. The full replacement of jsp is java server pages, which is the server page of Java 2. The main function of jsp is to return the data of html page instead of Servlet program 3. Because it is very com ...
Posted by tomtomdotcom on Sun, 13 Feb 2022 13:34:47 +0100
[rk356x] [firefly Linux] take you through each partition of Ubuntu firmware during a break
In order to facilitate development and product customization, Ruixin micro has defined a set of firmware partitions, and these partition information is stored in parameter Txt file, Firefly defines its own Ubuntu partition with reference to this file, and the file is parameter Ubuntu Txt, stored in Linux_ Under the device/rockchip/rk356x d ...
Posted by Serpent7 on Sun, 13 Feb 2022 11:56:09 +0100
Servlet learning diary 7 -- forwarding and redirection of Servlet
catalogue
1, Supplement to the previous content
2, Several problems of servlet at present
3, Problems after separating two servlets
4, Forward
4.1 function
4.2 page Jump
4.3 operation and code
4.4 data transmission
4.5 forwarding features
5, Redirect
5.1 function
5.2 page Jump
5.3 code implementation
5.4 data transmission
5.5 cod ...
Posted by bigfunkychief on Sun, 13 Feb 2022 03:57:08 +0100
linux command: detailed explanation of sort
The function of the sort command is to sort by line
Usage:
sort [OPTION]... [FILE]...
sort [OPTION]... --files0-from=F
Options:
Sort class options:
-b. -- ignore leading blanks -- ignore spaces at the beginning of a line
-d. -- dictionary order only handles spaces, English letters and numbers
-f. -- ignore case -- lowercase lette ...
Posted by Mordecai on Sat, 12 Feb 2022 13:51:42 +0100
Getting started with Linux system programming -- threads
1, Thread
1. Thread overview (differences from processes and advantages of threads)
Multithreading development has been supported by mature pthread library on Linux platform. The most basic concepts of multithreading development include three points: thread, mutex and condition. Among them, thread operation is divided into thread creation ...
Posted by gooman on Sat, 12 Feb 2022 11:40:50 +0100
Linux file status information and permissions
fstat,stat,lstat
Get file status information (status).
prototype
#include<unistd.h>
#include<sys/stat.h>
#include<sys/types.h>
int fstat(int fildes, struct stat *buf);
int stat(const char *path, struct stat *buf);
int lstat(const char *path, struct stat *buf)ï¼›
Write the file status information into the stat stru ...
Posted by iceomnia on Sat, 12 Feb 2022 09:59:00 +0100
Stored procedures and functions in MySQL (super detailed, with code analysis)
Stored procedures and functions
MySQL supports stored procedures and functions from version 5.0. Stored procedures and functions can encapsulate complex SQL logic. Applications do not need to pay attention to the complex SQL logic inside stored procedures and functions, but simply call stored procedures and functions.
1. Overview of stored pr ...
Posted by MDanz on Sat, 12 Feb 2022 07:04:03 +0100
mysql5.7 master slave replication, mycat2 configuration, read-write separation
mysql5.7 master-slave synchronization, mycat2 configuration, read-write separation (windows)
This article is referenced and reproduced from the article MySQL5. Master slave configuration,mycat2 fast build,mycat2 read write separation configuration , only used to record your learning process
1, Mysql5 7 configure master-slave synchronization
...
Posted by tom2oo8 on Sat, 12 Feb 2022 04:18:03 +0100
PHP session file inclusion and deserialization (utilization of session.upload_progress)
preface
This article uses PHP_SESSION_UPLOAD_PROGRESS summarizes file inclusion and deserialization.
That is, the file inclusion and deserialization of PHP session
Introduction to session
Session is called "session control". The session object stores the attributes and configuration information required for a specific user ...
Posted by CiPH on Fri, 11 Feb 2022 18:37:03 +0100