linux domain socket

Unix domain socket One of the ways of communication between processes in Linux is through network socket. UNIX domain sockets are used to communicate with processes running on the same machine. Although Internet domain sockets can be used for this same purpose, UNIX domain sockets are more efficient. ...

Posted by Birmingham on Tue, 04 Feb 2020 22:55:17 -0800

BT seed structure and coding analysis

1, Data type There are four types of data: string, integer, list and dictionary. Strings (string) Code to: < string len gt h >: < string > For example: 4:test is represented by the string "test" 4: Examples are represented as string "examples" String length in bytes ...

Posted by inkdrop on Sat, 01 Feb 2020 05:03:09 -0800

The application of SMB in Java

Catalog SMB service operations I Introduction to SMB Ⅱ SMB configuration 2.1 Windows SMB Ⅲ add SMB dependency Ⅳ path format Ⅴ operation sharing Ⅵ login verification SMB service operations I Introduction to SMB SMB (full name is Server Message Block) is a ...

Posted by tridean34 on Wed, 29 Jan 2020 02:41:12 -0800

NOW() function in PHP

Is there a PHP function that returns the date and time in the same format as MySQL function NOW()? I know how to do this with date(), but I asked if there was a function for this only. For example, return: 2009-12-01 00:00:00 #1 building Use this feature: function getDatetimeNow() { $tz_object = new DateTimeZone('Brazil/Eas ...

Posted by gray8110 on Thu, 23 Jan 2020 06:14:37 -0800

Nginx learning notes - basic data structure

Some features of Nginx High performance Event driven model can handle massive concurrent connections without blocking high stability Memory pool avoids the common resource leakage problem of c program Modular architecture makes all functional modules completely decoupled one master / mutil workers ...

Posted by ahmedkl on Tue, 21 Jan 2020 22:27:41 -0800

Linux common commands - update at any time

Preface Blogger github Blogger's personal blog http://blog.healerjean.com 1. Help instruction 1.1 – - help: display command help information inside the shell --The help command is used to display help information inside the shell. The help command can only display command help informati ...

Posted by linus on Thu, 16 Jan 2020 19:13:04 -0800

How to get APP crash log for Android

Once any error occurs in android APP, it will stop running, which is a headache for many developers, In many cases, some recessive bugs pass the test department, and a small area crash occurs after they are put on the shelf. In this case, there is no log for BUG reporting, so bugs cannot be found. So, can only through user fe ...

Posted by aravind_mg on Sun, 12 Jan 2020 07:57:15 -0800

JWT realizes authorization authentication

Catalog 1, What is JWT 2, JWT Standard Specification 3, Analysis of core code 4, Login authorization example 5, JWT usage 6, JWT considerations 1, What is JWT JSON Web Token (JWT) is the most popular cross domain authentication solution. In short, OAuth is a kind of authoriz ...

Posted by w4designs on Wed, 08 Jan 2020 08:10:31 -0800

Summary of MySQL 8 Anti-Join

Guidance: Author: Zheng Songhua, Zhi Shu Tang's SQL Optimized Class Teacher, Net Name: Rabbit Riding Tortoise Today, I would like to share some articles about not in, not exists.In fact, this can be summarized as exists to in, which was treated differently in previous versions of mysql until version 8.0.16. Prior to version 16, in could be op ...

Posted by eyespark on Tue, 07 Jan 2020 18:55:46 -0800

Remember the blood case caused by a pass file handle (continued)

Following Remember a blood case caused by passing a file handle once After that, the demo triggered another blood case, which is now recorded below. This time I'm testing file handle transfer on linux, which does not have a STREAMS system. The handle is therefore passed using the control message part in sendmsg/recvmsg of the unix domain socke ...

Posted by srikanth03565 on Mon, 06 Jan 2020 08:52:54 -0800