TCP Programming of Network Programming

Last article Understanding UDP and TCP is enough. We have a preliminary understanding of network programming, UDP protocol and TCP protocol related content. This connection-oriented TCP protocol must establish a connection with the other party before formal communication, which is modeled according to t ...

Posted by bdichiara on Fri, 19 Jul 2019 05:07:45 -0700

Sender and Receiver of Simulated UDP Transport

1. Create the sender of UDP transmission 1. Establishing UDP Socket service; 2. The data to be sent is encapsulated in the data package. 3. Send the data package through UDP's Socket service. 4. Close the Socket service. import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAd ...

Posted by nahla123 on Wed, 17 Jul 2019 14:08:27 -0700

When Swoole Meets ThinkPHP5: Hello,World!

When Swoole Meets ThinkPHP5: Hello,World! This article assumes that you already have a PHP environment for the Linux operating system. It is highly recommended that you use Vagrant to build a development environment. Install Swoole PECL Extension Swoole can be installed either by pecl command or by compiling and installing source packages. Thi ...

Posted by flaab on Tue, 16 Jul 2019 10:51:08 -0700

Android Talking about Connecting Printers with WiFi in the Same LAN

Android Talking about Connecting Printers with WiFi in the Same LAN Recent work is really busy, so-called busy leisure, in order to share with you how to use WiFi to connect printers under the same LAN. When I first received such a task, my mind was not so messy. I still had a clear idea. Maybe it was because I had done WiFi before. Take th ...

Posted by SoireeExtreme on Sun, 14 Jul 2019 12:51:51 -0700

Android Source-Start Source Analysis of Android System

Analysis of Startup Source Code for Android System Understanding Android's source code can help us learn better about the excellent source code of the system, and how a program is implemented by google engineers. Source analysis can also strengthen our programming ideas. guide Android system startup process source code analysis, based on An ...

Posted by Mr P!nk on Thu, 11 Jul 2019 13:55:43 -0700

Java Basic Review (V)

The review notes are based on the JavaSE notes of the 27 employment classes of the Intelligence Podcast. Link: Link: https://pan.baidu.com/s/1boDix6R Password: r1p6, I recommend that you don't read the new white, because it involves too many details, but it makes you easy to give up the path of Java. The new white recommends the following set ...

Posted by daydreamer on Thu, 11 Jul 2019 13:00:02 -0700

Uploading Large Files Based on Socket

In the last section, we have touched some basic concepts and usage methods of Socket. Then we have written Demo in a simple piggy chat room. I believe you have a preliminary grasp of Socket. In this section, we will learn how to use Socket to realize the intermittent transmission of large files. Here's an example of a big file uploaded by a S ...

Posted by lazytiger on Wed, 10 Jul 2019 14:00:22 -0700

Linux NIO Series (05) poll

Catalog I. Comparison of select and poll II. poll API Appendix 1: IO restrictions for each process in linux Appendix 2: poll network programming Linux NIO Series (05) poll Netty Series Catalogue( https://www.cnblogs.com/binarylei/p/10117436.html) I. Comparison of select and poll Like poll() ...

Posted by cbassett03 on Tue, 02 Jul 2019 16:24:01 -0700

The second week assignment of Linux Basic Introduction [Linux Micro Position]

1. What are the file management commands on Linux, their common usage methods and related examples.1. Directory management class commands:mkdir: Create directoriesCommon parameters:- p: Automatically create parent directory on demand- v: Display the detailed process- m MODE: Given permissions directly[root@localhost ~]# mkdir -pv ...

Posted by JoeZ on Tue, 02 Jul 2019 15:27:47 -0700

Api of Node.js File System

Api of Node.js File System //Public citation var fs = require('fs'), path = require('path'); 1. readFile function for reading files //readFile(filename,[options],callback); /** * filename, Required parameter, file name * [options],Optional parameters, can specify flag (file operation options, such as r + read and write; w + read and ...

Posted by embtech on Mon, 01 Jul 2019 16:12:57 -0700