windows socket programming demo

WINDOWS SOCKET programming example Important points: Server side Client Code See? You don't need to know the ip and port of the client in the whole process of socket programming at the code level. The following protocol stack will detect it by itself. But socket is actually to use the client's ip a ...

Posted by GreyFilm on Sat, 11 Jan 2020 07:02:12 -0800

Build WNMP environment from scratch

WNMP environment building steps Installation of three major parts Nginx installation PHP installation MySQL installation Three piece configuration Nginx configuration PHP configuration MySQL configuration Three piece joint commissioning PHP connection Nginx PHP connection to MySQL Common script ...

Posted by M.O.S. Studios on Sat, 11 Jan 2020 00:12:52 -0800

Alibaba cloud ant contract experience chain Quick Start

Summary Alibaba cloud ant blockchain provides a contract experience chain, which is convenient for users to quickly experience the blockchain, and can quickly test and experience the functions of the blockchain free of charge. The following describes the use of contract experience step by step from three aspects: portal creation and related con ...

Posted by flashman on Fri, 10 Jan 2020 06:38:44 -0800

C ා client (StackExchange.Redis) connects to redis

Recently, due to the need, we have provided redis connection examples in various languages for Xiaobai customers. It includes C ා (StackExchange.Redis). Don't talk too much Huawei cloud distributed cache service (for Redis) for example, share the C ා client connection configuration process of Redis. 1. First, I bought a Redis ...

Posted by MattSharp on Thu, 09 Jan 2020 08:12:40 -0800

Selenium Common Operations

Catalog install Download Driver Element Selection Enter, clear, Click Close windows, browsers Window Switch Frame Switching Page Pop-up Window Waiting to load Action Chain Keyboard events Execute js (sliding scrollbar) screenshot Get Element Properties Get page source code, refresh page Set window size Set up proxy, UA Cookie operation Skip Se ...

Posted by johanafm on Wed, 08 Jan 2020 19:47:31 -0800

Eclipse connecting to SQLserver mining road

Step 1: configure SQL Server (2016), log in to SQL Server under windows, right-click sa under the security login name, and enter the property change. Then, uncheck the enforce password policy to modify the password. After the password is modified, log out and log in again using the account with the user name sa. Step 2: rig ...

Posted by warydig on Tue, 07 Jan 2020 07:05:05 -0800

The tool class and the restart service process of calling Windows system to serve exe program in C#

scene Use the Windows service program written by C to call in Winform. Common tool class methods are used to detect whether the service exists or is installed, obtain the service status, start the service, and stop the service. Take restarting a service in Winform for example. Note: Blog home page: https://blog.csdn.net/badao_liumang_qizhi Pay ...

Posted by marksie1988 on Tue, 07 Jan 2020 06:13:28 -0800

C#Dependent Injection

1. What is Dependent Injection Formal definition of dependency injection: Dependency Injection is the process in which a customer class defines only one injection point because it depends on only one interface of a service class and not on a specific service class.In the process of running the program, the client class does not instantiate th ...

Posted by rushdot on Tue, 07 Jan 2020 04:54:38 -0800

Crawler: Scrapy framework

1. Crawler With Scrapy, we can easily write a site crawler. However, if the number of sites captured is very large, such as crawling news information of major media, multiple spiders may contain a lot of repetitive code. If we keep the common parts of spiders in each site and extract different parts as separate configurations, such as crawling ...

Posted by mattcairns on Tue, 07 Jan 2020 04:04:55 -0800

Using "esri/tasks/IdentifyTask" to query multiple layers and display multiple attribute pop ups

Before, just click the layer to display the attribute pop-up window of the layer However, sometimes it is necessary to query multiple layers and display all the corresponding attribute pop-up windows. At this time, map.infoWindow attribute is needed to implement this 1, Lead in module ["esri/map", "esri/layers/ArcGISDynamicM ...

Posted by Ammar on Mon, 06 Jan 2020 17:59:28 -0800