HTTPS process Brief

The most important thing in HTTPS is SSL handshake. SSL handshake is used to negotiate the secret key and encryption suite. The overall process is as follows: The client tells the server to use HTTPS protocol; The server returns its certificate and public key to the client; Client verifies the validity of public key and certificate; After pass ...

Added by jmurch on Sun, 03 Nov 2019 06:46:45 +0200

http module and fs module

Article link: http module and fs module http module responseObject common methods: response.writeHead(200,{'Content-Type':'text/plain:charset=UTF-8'}); This method can only be called once on a message and must be calledresponse.end()Before calling. response.write()Send a corresponding body to send the corresponding data to the client.writeI ...

Added by nrsh_ram on Fri, 01 Nov 2019 21:44:00 +0200

zabbix monitoring encounter

Phenomenon:On the web side of ZABBIX, JMX displays red and prompts cannot reslove 192.168.100.107192.168.100.108...At that time, the first thought was to keep the ip after JavaGateway in / etc / ZABBIX / ZABBIX [server. Conf on the server side only 192.168.100.107, and then restart ZABBIX server. But JMX still displays red, and there is a prob ...

Added by anu123 on Fri, 01 Nov 2019 20:36:03 +0200

Example of TCP receiving and sending from client type information loop

When listening on the server side is in the loop, it is found that the information of the client is not received normally. It's OK to put the monitor accept outside the loop. I just learned that it's not very understandable! Thanks for your help! public class TcpClient { public static void m ...

Added by NL_Rosko on Thu, 31 Oct 2019 22:06:19 +0200

go and websocket (golang.org/x/net/websocket)

Reference resources https://github.com/ukai/go-websocket-sample/blob/master/websocket_echo_sample.go https://github.com/astaxie/build-web-application-with-golang/blob/master/zh/08.2.md WebSocket is an important feature of HTML5. It implements remote socket based on browser. It enables full duplex ...

Added by Tezread on Wed, 30 Oct 2019 20:06:46 +0200

rpc client and server of PHP

[TOC] rpc client and server of PHP There are many solutions for PHP rpc, and many open rpc frameworks based on PHP code can be seen on composer. There are also many rpc frameworks based on C PHP extension, such as swoole, Yar and grpc. The ready-made framework is very simple to use. Just install and call it directly, I won't say it. Let's just ...

Added by im8kers on Thu, 24 Oct 2019 01:13:27 +0300

Four ways of integrating websocket with spring boot

Four schemes of integrating websocket 1. Original notes pom.xml <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket</artifactId> </dependency> WebSocketConfig /* * * * * blog.coder4j.cn * * Copyright (C) 2016-2019 All Rights Reserved. * */ package cn. ...

Added by Riparian on Wed, 23 Oct 2019 21:29:53 +0300

Python -- Network Programming 3

Socket socket (module): responsible for receiving data from the transport layer, processing it, and handing it to the operating system from the bottom layer. Effect To avoid the use of interfaces and protocols in each layer of computer learning, socket has encapsulated all interfaces, which is convenient to use and improves development effi ...

Added by incubi on Wed, 23 Oct 2019 20:54:31 +0300

Android 4.4 RIL software framework

This paper mainly analyzes the command interaction process between Android 4.4 RIL's telephone and modem, but this paper does not focus on telephone.Telephone involves many specific business logic contents, including sim, dail, sms, network, etc., which will be studied and analyzed in the future. RIL's position in Android system:   (A) the ...

Added by lastcraft on Thu, 17 Oct 2019 13:40:49 +0300

Swoole Partnership Tour

Author: Han Tianfeng's original address: Click to view What is the consortium? The first published explanation of the coroutine appeared later, in 1963. The concept of the coroutine is longer than that of the c language. The term coroutine is coined by Melvin Conway in 1958, after which it is applied to construction of an assembly program. The ...

Added by rane500 on Mon, 14 Oct 2019 08:10:55 +0300