asp.net Event model mechanism
-----------------------
One
The customer's request page is created by aspnet_isapi.dll This dynamic link library handles , Request aspx The document is sent to CLR Compile and execute , And then put Html The stream is returned to the browser
-----------------asp.net
Event model mechanism
-----------------------
One
The customer's request page is created by aspnet_isapi.dll This dynamic link library handles , Request aspx The document is sent to CLR Compile and execute , And then put Html The stream is returned to the browser
--------------------------
Two Page Events
Execution order
Page_Init: Initialization value or connection
Page_Load: The main use of IsPostBack, This event mainly performs a series of operations to create for the first time asp.net Page or response
Client events caused by delivery . Before this incident , Restored page and control view state .
Page_DataBind: Call... At the page level , Can also be invoked in a single control .
DataBind_PreRender: Data binding pre rendering , This event fires just before saving the view state and rendering the control .
Page_Unload: This event is part of the final clean-up .
Uncertain events
Page_Error: If an unhandled exception occurs during page processing , Then it stimulates error event .
Page_AbortTransaction: Trading event , In the transaction, if the transaction has been terminated , The event is triggered , Common use of shopping cart .
Page_CommitTransaction: If the deal is successful , The event is triggered .
--------------------------------------------------------
Global.asax In the event ( Execution order )
Application_Start: Fires when the application starts
Application_BeginRquest:http Fire at the beginning of the request
Application_AuthenticateRequest: Application approval http Fire on request
Session_Start: Fires when the session starts
Application_EndRequest:Htttp Fire at the end of the request
Session_End: Fire at the end of the conversation
Application_End: Fires at the end of the application
Application_Error: Fires when an error occurs
----------------------
ISAPI: towards web The server inserts some components , Extend the functionality , enhance web Server function .
ISAPI: Expand ,win32 Dynamic link library for , for example aspnet_isapi.dll, You can put ISAPI Think of an extension as a normal application , It deals with the goal of HTTP request .
ISAPI: filter ,web The server passes the request to the relevant filter , Next, the filter may modify the request , Perform certain operations and so on .
ASP.NET Processing of requests :
The base
In the pipeline model , In the model ASP.NET hold http The request is passed to all the modules in the pipeline . Every module receives HTTP request , And have complete control . Once the request goes through all the
HTTP modular , Was eventually HTTP Handler processing .HTTP The handler does something with the request , And the result will go through the... In the module pipeline again HTTP modular .
-----------
httpmodule 
ISAPI
filter ( Filter ):IIS It does not support dynamic pages , That is to say, he only supports static HTML Content of page , about .asp .aspx .cgi
.php etc. ,IIS I don't know if I deal with these suffix tags , It's going to think of it as text , Send it to the client without any processing . To solve this problem ,IIS There is a mechanism , be called ISAPI
Filter . It's a COM Components .
ASP.NET The service is registered to IIS When , Will register the file extensions that each extension can handle to IIS Inside ( Such as *.ascx *.aspx etc. ). After the extension starts , Just deal with it in a defined way IIS Files that cannot be processed , And then you jump to the process of dealing with the code ,asp.net Medium is
aspnet_isapi.dll. Let the process start processing the code , Generating standard HTML Code , After generation, add the code to the original HTML in , Finally, put the whole HTML Return to IIS,IIS Send the content to the client .
----------------<br
/>HttpModule
Http
The module implements the filter (ISAPI
filter) The function of , It is realized System.Web.IHttpModule Interface .net Components .. These components register themselves in certain events , Insert yourself into
ASP.NET Request processing pipeline . When these things happen ,ASP.NET Call... That is interested in the request HTTP modular , In this way, the module can process the request . Sometimes you need to think about it
http request , Note that it doesn't cover other things, including those that come with the system HttpModule, stay Machine.config The configuration is complete .
--------------------------------------
HttpHandler
it
Realized ISAPI
Extention The function of , It processes requests (Request) Message and send response (Response).HttpHandler The passing of functions must be realized
IHttpHandler Interface .HTTP The handler is to implement System.Web.IHttpHandler Interface .NET Components . Any class that implements this interface can
For processing input Http request . It is Http The handler .
stay
Former ASP When , When requesting a *.asp Page file , This HTTP The request will first be called inetinfo.exe Process intercepts , The process is actually
www service . After interception, it will forward the request to asp.dll process , This process will explain this asp page , Then the interpreted data stream is returned to the client browser . Actually
ASP.DLL It's an attachment to IIS Of ISAPI file , It's responsible for things like ASP file ,ASA And so on ,
-------------------------------------

ASP.NET Of HTTP Request processing method
When
Client to web The server requested a *.aspx Page file , Same as asp similar , This http The request will also be inetinfo.exe Process interception (www service ), It judges
After the file suffix , Forward this request to ASPNET_ISAPI.DLL and ASPNET_ISAPI.DLL It will pass a Http
PipeLine The pipe , Put this http Request sent to ASPNET_WP.EXE process , When this HTTP Request entry ASPNET_WP.EXE After the process ,
asp.net framework Would pass HttpRuntime To deal with this Http request , After processing, return the result to the client .
------------------------------------
When
One http The request is sent to HttpRuntime after , This Http Requests will continue to be sent to a place called HttpApplication
Factory In a container of , And this container will give you a HttpApplication Instance to handle the passed in http request , And then this one Http Requests will go in turn
Into the following containers :
HttpModule --> HttpHandler Factory --> HttpHandler
When the inside of the system HttpHandler Of ProcessRequest After the method is processed , Whole Http Request It's done , The client will get the corresponding content .
complete http Request in asp.net framework Process flow in :
HttpRequest-->inetinfo.exe->ASPNET_ISAPI.DLL-->Http Pipeline-->ASPNET_WP.EXE-->HttpRuntime-->HttpApplication
Factory-->HttpApplication-->HttpModule-->HttpHandler Factory-->HttpHandler-->HttpHandler.ProcessRequest()
If you want to intercept one in the middle httpRequest And do something of your own , Should be in HttpRuntime Run time internal to do this , To be exact, when HttpModule This container does this .
----------------------------------------
-------------------------------------
Of the system itself HttpModule Achieve one IHttpModule The interface of , Of course, our own classes can also implement IHttpModule Interface , This can replace the system's HttpModule Object .
ASP.NET Default... In the system HttpModule:
DefaultAuthenticationModule Make sure that... Exists in the context Authentication object . Cannot inherit this class . 
FileAuthorizationModule Verify that the remote user has access to the requested file NT jurisdiction . Cannot inherit this class . 
FormsAuthenticationModule Enable ASP.NET Application to use Forms Authentication . Cannot inherit this class . 
PassportAuthenticationModule Provide surround PassportAuthentication Service packaging . Cannot inherit this class . 
SessionStateModule     Provide session state services for applications . 
UrlAuthorizationModule     Offer based on URL To allow or deny access to specified resources . Cannot inherit this class . 
WindowsAuthenticationModule Enable ASP.NET Application to use Windows/IIS Authentication . Cannot inherit this class
--------------------------------------
this
Some of the system default HttpModule It's in the file machine.config Configured in , And what we used when we developed web.config The relationship is : Is in
ASP.NET FRAMEWORK Start processing a Http
Request When , It loads in turn machine.config And the directory where the request page is located web.config file , If in machine A self is configured in
Of HttpModule, You can still find it in the web.config In file remove Drop the mapping .
public class HelloWorldModule : IHttpModule
{
    public HelloWorldModule()
    {
    }
    public String ModuleName
    {
        get { return "HelloWorldModule"; }
    }
    // In the Init function, register for HttpApplication 
    // events by adding your handlers.
    public void Init(HttpApplication application)
    {
        application.BeginRequest += 
            (new EventHandler(this.Application_BeginRequest));
        application.EndRequest += 
            (new EventHandler(this.Application_EndRequest));
    }
    private void Application_BeginRequest(Object source, 
         EventArgs e)
    {
    // Create HttpApplication and HttpContext objects to access
    // request and response properties.
        HttpApplication application = (HttpApplication)source;
        HttpContext context = application.Context;
        context.Response.Write("<h1><font
color=red> HelloWorldModule: Beginning of
Request</font></h1><hr>");
    }
    private void Application_EndRequest(Object source, EventArgs e)
    {
        HttpApplication application = (HttpApplication)source;
        HttpContext context = application.Context;
        context.Response.Write("<hr><h1><font
color=red>HelloWorldModule: End of
Request</font></h1>");
    }
    public void Dispose()
    {
    }
}
    <system.web>
   <httpModules>
    <add name="HelloWorldModule" type="HelloWorldModule"/>
   </httpModules>
    </system.web>
-----------------------------------------------------------------------------------
thorough HttpModule
One
individual Http The request is being ASP.NET
Framework After capture, it will be handed over to HttpModule as well as HttpHandler To deal with it .hm And hh They are not completely independent , actually ,http Request in
hm In the process of transmission, control will be transferred to hh Of , And the real deal is HttpHandler After the completion of execution in ,HttpHandler Will return control to
HttpModule
In the code above HttpModule Of Init() The parameter in is HttpApplication type , It has many events , Include BeginRequest,EndRequest,AuthentiacteRequest
wait .
-----------------------------------------------------------------
IHttpHandler
it
yes asp.net
Framework An interface provided , Defines if you want to implement a Http Some system conventions that must be implemented for request processing . in other words , If you want to handle certain types of
HTTP Request information flow , You need to implement these system conventions to do it . Like a *.aspx file , Used to handle this type of Http request ,ASP.NET
FRAMEWORK Will be given to a person named System.Web.UI.PageHandlerFactory Of HttpHandler Class to deal with .
HH
and HM equally , The system will start with ASP.NET
FRAMEWORK First load machine.config Medium HttpHandler, And then it loads Web The directory where the application is located web.config Users in
Self defined HttpHandler class . But the system is different from our custom HH The relationship between " Cover " Of , That is to say, if we customize one for "*.aspx" Of
HttpHandler Class words , So the system will http The processing power of the request is completely given to our own definition of this HttpHandler Class to deal with , And our own
HttpHandler Class needs to resolve this completely by itself Http request , And deal with .
IHttpHandler
The most important method in the interface ProcessRequest, This method is HttpHandler To deal with a Http request , When one
Http The request is made by HttpModule The container passes to HttpHandler When in a container ,framework Would call HttpHandler Of
ProcessRequest To do this right Http Ask for real processing .
framework In fact, it's not directly related to the page HTTP Request to locate to an internal default IHttpHandler On top of the container , It's positioned to its internal default IHttpHandler Factory Yes .IHttpHandler
Factory The role of is to many systems have been implemented IHttpHandler Container for scheduling and management , The advantage of this is that it greatly increases the load of the system , Increased efficiency .--------
Two Page Events
Execution order
Page_Init: Initialization value or connection
Page_Load: The main use of IsPostBack, This event mainly performs a series of operations to create for the first time asp.net Page or response
Client events caused by delivery . Before this incident , Restored page and control view state .
Page_DataBind: Call... At the page level , Can also be invoked in a single control .
DataBind_PreRender: Data binding pre rendering , This event fires just before saving the view state and rendering the control .
Page_Unload: This event is part of the final clean-up .
Uncertain events
Page_Error: If an unhandled exception occurs during page processing , Then it stimulates error event .
Page_AbortTransaction: Trading event , In the transaction, if the transaction has been terminated , The event is triggered , Common use of shopping cart .
Page_CommitTransaction: If the deal is successful , The event is triggered .
--------------------------------------------------------
Global.asax In the event ( Execution order )
Application_Start: Fires when the application starts
Application_BeginRquest:http Fire at the beginning of the request
Application_AuthenticateRequest: Application approval http Fire on request
Session_Start: Fires when the session starts
Application_EndRequest:Htttp Fire at the end of the request
Session_End: Fire at the end of the conversation
Application_End: Fires at the end of the application
Application_Error: Fires when an error occurs
----------------------
ISAPI: towards web The server inserts some components , Extend the functionality , enhance web Server function .
ISAPI: Expand ,win32 Dynamic link library for , for example aspnet_isapi.dll, You can put ISAPI Think of an extension as a normal application , It deals with the goal of HTTP request .
ISAPI: filter ,web The server passes the request to the relevant filter , Next, the filter may modify the request , Perform certain operations and so on .
ASP.NET Processing of requests :
The base
In the pipeline model , In the model ASP.NET hold http The request is passed to all the modules in the pipeline . Every module receives HTTP request , And have complete control . Once the request goes through all the
HTTP modular , Was eventually HTTP Handler processing .HTTP The handler does something with the request , And the result will go through the... In the module pipeline again HTTP modular .
-----------
httpmodule 
ISAPI
filter ( Filter ):IIS It does not support dynamic pages , That is to say, he only supports static HTML Content of page , about .asp .aspx .cgi
.php etc. ,IIS I don't know if I deal with these suffix tags , It's going to think of it as text , Send it to the client without any processing . To solve this problem ,IIS There is a mechanism , be called ISAPI
Filter . It's a COM Components .
ASP.NET The service is registered to IIS When , Will register the file extensions that each extension can handle to IIS Inside ( Such as *.ascx *.aspx etc. ). After the extension starts , Just deal with it in a defined way IIS Files that cannot be processed , And then you jump to the process of dealing with the code ,asp.net Medium is
aspnet_isapi.dll. Let the process start processing the code , Generating standard HTML Code , After generation, add the code to the original HTML in , Finally, put the whole HTML Return to IIS,IIS Send the content to the client .
----------------<br
/>HttpModule
Http
The module implements the filter (ISAPI
filter) The function of , It is realized System.Web.IHttpModule Interface .net Components .. These components register themselves in certain events , Insert yourself into
ASP.NET Request processing pipeline . When these things happen ,ASP.NET Call... That is interested in the request HTTP modular , In this way, the module can process the request . Sometimes you need to think about it
http request , Note that it doesn't cover other things, including those that come with the system HttpModule, stay Machine.config The configuration is complete .
--------------------------------------
HttpHandler
it
Realized ISAPI
Extention The function of , It processes requests (Request) Message and send response (Response).HttpHandler The passing of functions must be realized
IHttpHandler Interface .HTTP The handler is to implement System.Web.IHttpHandler Interface .NET Components . Any class that implements this interface can
For processing input Http request . It is Http The handler .
stay
Former ASP When , When requesting a *.asp Page file , This HTTP The request will first be called inetinfo.exe Process intercepts , The process is actually
www service . After interception, it will forward the request to asp.dll process , This process will explain this asp page , Then the interpreted data stream is returned to the client browser . Actually
ASP.DLL It's an attachment to IIS Of ISAPI file , It's responsible for things like ASP file ,ASA And so on ,
-------------------------------------

ASP.NET Of HTTP Request processing method
When
Client to web The server requested a *.aspx Page file , Same as asp similar , This http The request will also be inetinfo.exe Process interception (www service ), It judges
After the file suffix , Forward this request to ASPNET_ISAPI.DLL and ASPNET_ISAPI.DLL It will pass a Http
PipeLine The pipe , Put this http Request sent to ASPNET_WP.EXE process , When this HTTP Request entry ASPNET_WP.EXE After the process ,
asp.net framework Would pass HttpRuntime To deal with this Http request , After processing, return the result to the client .
------------------------------------
When
One http The request is sent to HttpRuntime after , This Http Requests will continue to be sent to a place called HttpApplication
Factory In a container of , And this container will give you a HttpApplication Instance to handle the passed in http request , And then this one Http Requests will go in turn
Into the following containers :
HttpModule --> HttpHandler Factory --> HttpHandler
When the inside of the system HttpHandler Of ProcessRequest After the method is processed , Whole Http Request It's done , The client will get the corresponding content .
complete http Request in asp.net framework Process flow in :
HttpRequest-->inetinfo.exe->ASPNET_ISAPI.DLL-->Http Pipeline-->ASPNET_WP.EXE-->HttpRuntime-->HttpApplication
Factory-->HttpApplication-->HttpModule-->HttpHandler Factory-->HttpHandler-->HttpHandler.ProcessRequest()
If you want to intercept one in the middle httpRequest And do something of your own , Should be in HttpRuntime Run time internal to do this , To be exact, when HttpModule This container does this .
----------------------------------------
-------------------------------------
Of the system itself HttpModule Achieve one IHttpModule The interface of , Of course, our own classes can also implement IHttpModule Interface , This can replace the system's HttpModule Object .
ASP.NET Default... In the system HttpModule:
DefaultAuthenticationModule Make sure that... Exists in the context Authentication object . Cannot inherit this class . 
FileAuthorizationModule Verify that the remote user has access to the requested file NT jurisdiction . Cannot inherit this class . 
FormsAuthenticationModule Enable ASP.NET Application to use Forms Authentication . Cannot inherit this class . 
PassportAuthenticationModule Provide surround PassportAuthentication Service packaging . Cannot inherit this class . 
SessionStateModule     Provide session state services for applications . 
UrlAuthorizationModule     Offer based on URL To allow or deny access to specified resources . Cannot inherit this class . 
WindowsAuthenticationModule Enable ASP.NET Application to use Windows/IIS Authentication . Cannot inherit this class
--------------------------------------
this
Some of the system default HttpModule It's in the file machine.config Configured in , And what we used when we developed web.config The relationship is : Is in
ASP.NET FRAMEWORK Start processing a Http
Request When , It loads in turn machine.config And the directory where the request page is located web.config file , If in machine A self is configured in
Of HttpModule, You can still find it in the web.config In file remove Drop the mapping .
public class HelloWorldModule : IHttpModule
{
    public HelloWorldModule()
    {
    }
    public String ModuleName
    {
        get { return "HelloWorldModule"; }
    }
    // In the Init function, register for HttpApplication 
    // events by adding your handlers.
    public void Init(HttpApplication application)
    {
        application.BeginRequest += 
            (new EventHandler(this.Application_BeginRequest));
        application.EndRequest += 
            (new EventHandler(this.Application_EndRequest));
    }
    private void Application_BeginRequest(Object source, 
         EventArgs e)
    {
    // Create HttpApplication and HttpContext objects to access
    // request and response properties.
        HttpApplication application = (HttpApplication)source;
        HttpContext context = application.Context;
        context.Response.Write("<h1><font
color=red> HelloWorldModule: Beginning of
Request</font></h1><hr>");
    }
    private void Application_EndRequest(Object source, EventArgs e)
    {
        HttpApplication application = (HttpApplication)source;
        HttpContext context = application.Context;
        context.Response.Write("<hr><h1><font
color=red>HelloWorldModule: End of
Request</font></h1>");
    }
    public void Dispose()
    {
    }
}
    <system.web>
   <httpModules>
    <add name="HelloWorldModule" type="HelloWorldModule"/>
   </httpModules>
    </system.web>
-----------------------------------------------------------------------------------
thorough HttpModule
One
individual Http The request is being ASP.NET
Framework After capture, it will be handed over to HttpModule as well as HttpHandler To deal with it .hm And hh They are not completely independent , actually ,http Request in
hm In the process of transmission, control will be transferred to hh Of , And the real deal is HttpHandler After the completion of execution in ,HttpHandler Will return control to
HttpModule
In the code above HttpModule Of Init() The parameter in is HttpApplication type , It has many events , Include BeginRequest,EndRequest,AuthentiacteRequest
wait .
-----------------------------------------------------------------
IHttpHandler
it
yes asp.net
Framework An interface provided , Defines if you want to implement a Http Some system conventions that must be implemented for request processing . in other words , If you want to handle certain types of
HTTP Request information flow , You need to implement these system conventions to do it . Like a *.aspx file , Used to handle this type of Http request ,ASP.NET
FRAMEWORK Will be given to a person named System.Web.UI.PageHandlerFactory Of HttpHandler Class to deal with .
HH
and HM equally , The system will start with ASP.NET
FRAMEWORK First load machine.config Medium HttpHandler, And then it loads Web The directory where the application is located web.config Users in
Self defined HttpHandler class . But the system is different from our custom HH The relationship between " Cover " Of , That is to say, if we customize one for "*.aspx" Of
HttpHandler Class words , So the system will http The processing power of the request is completely given to our own definition of this HttpHandler Class to deal with , And our own
HttpHandler Class needs to resolve this completely by itself Http request , And deal with .
IHttpHandler
The most important method in the interface ProcessRequest, This method is HttpHandler To deal with a Http request , When one
Http The request is made by HttpModule The container passes to HttpHandler When in a container ,framework Would call HttpHandler Of
ProcessRequest To do this right Http Ask for real processing .
framework In fact, it's not directly related to the page HTTP Request to locate to an internal default IHttpHandler On top of the container , It's positioned to its internal default IHttpHandler Factory Yes .IHttpHandler
Factory The role of is to many systems have been implemented IHttpHandler Container for scheduling and management , The advantage of this is that it greatly increases the load of the system , Increased efficiency .

ASP.NET (HttpModule,HttpHandler) More articles about

  1. ASP.NET Pipeline events and HttpModule, HttpHandler Simple understanding - From the Internet

    The first part : Reprinted from Artech  IIS And ASP.NET The Conduit ASP.NET The Conduit With IIS 6.0 For example , In the working process w3wp.exe in , utilize Aspnet_ispai.dll load .NET Runtime ( If .NET ...

  2. ASP.NET Three swordsmen HttpApplication HttpModule HttpHandler analysis

    We all know ,ASP.Net Processing requests in a runtime environment is done through a series of objects , contain HttpApplication,HttpModule, HttpHandler. The reason why we call these three objects ASP.NET Three swordsmen ...

  3. HttpModule &amp; HttpHandler

    ASP.NET The process of processing a request inetinfo.exe:www Service process ,IIS service and ASPNET_ISAPI.dll All in the process . ASPNET_ISAPI.dll: Handle .aspx ...

  4. Prerender Application Level Middleware - ASP.NET HttpModule

    In the previous post Use Prerender to improve AngularJS SEO, I have explained different solutions at ...

  5. asp.net HttpModule and HttpHandler

    ASP.Net Handle Http Request when , Use Pipeline( The Conduit ) The way , By HttpModule The request is processed , Then arrive at HttpHandler,HttpHandler After that , Still through Pi ...

  6. ASP.NET Pipeline events and HttpModule, HttpHandler Simple understanding

    BeginRequest Indicates that request processing begins AuthenticateRequest Encapsulates the request authentication process AuthorizeRequest Encapsulates the process of checking whether the previously cached output page can be used to process the request Reso ...

  7. HttpModule HttpHandler HttpHandlerFactory Learning notes

    1.HttpModule The most common is the use of HttpModule To do page permission control . Add the following code to the new class library : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ...

  8. asp.net Use httphandler Pack more CSS or JS File to speed up page loading

    Introduce Use a lot of small JS.CSS File instead of a huge JS or CSS File to make the code more maintainable Protective property , It's a good practice . But doing so, in turn, costs the performance of the site . Although you should put your Javascript The code is written in a small file ...

  9. ASP.NET HttpModule URL rewrite ( One ) 【Z】

    Hello everyone , Here we are again , What this time brings to you URL rewrite , About URL What is rewriting , What are the benefits , How to rewrite , Today I would like to share my experience with you One .URL rewrite URL Rewriting is getting an entry first URL Request and then put it back ...

Random recommendation

  1. hold svn Upper mycelipse Lead to local eclipse in

    myeclipse and eclipse Of web There are all kinds of problems in project mutual guidance , Now let's record what happened to me as follows : eclipse How to make svn On down Coming down myeclipseWeb The project becomes eclipse Of Web project : ...

  2. upgrade OSX 10.9 Mavericks after , It can lead to Finder A problem that's not responding all the time

    Just got promoted OS X 10.9 Mavericks , Find out Finder Throughout “ Not responding ”(Application Not Responding), I checked the Forum on Apple's official website , Domestic forum , None of the solutions worked , Finally, all kinds of attempts , Find out ...

  3. There's a picture, there's a truth —— About “ Video album : Zero base learning C Language ”

  4. nginx fastcgi Timeout problem solving record

    When guiding data in the background of the website , There is a time-out situation . After searching information and experiments on the Internet Mainly in the following configuration limitations 1.php To configure The first one is :set_time_limit(0); Never expire The second kind : php.ini   max_ex ...

  5. idea to web Project add tomcat

    First , You need to create a new web project It's like this : We can build new lib The folder is used to load the necessary jar, And new classess The folder is used to store compiled files , It feels like this and myeclipes Similar projects . Go to project setup , modify ...

  6. JAVA Basics -JSON

    /** * 1. According to the received JSON String to parse the data and data objects contained in the string */ System.out.println("1. According to the received JSON String to parse the data and data pairs contained in the string ...

  7. oracle Learning notes ( One ) oracle A brief introduction to the architecture and the creation of table spaces and users

    Architecture oracle The data server consists of oracle Database and instance The instance consists of background process and memory structure The memory structure is made up of shared pools , Data buffer , Log cache Oracle A database stores physical tables through a table space , A database instance can ...

  8. The first 8 Chapter Transport layer (2)_UDP agreement

    2. User datagram protocol (UDP) 2.1 UDP Characteristics (1)UDP It's disconnected , That is, you don't need to establish a connection before sending data , Therefore, the overhead and the delay before sending data are reduced . (2)UDP Used best effort delivery , That is, there is no guarantee of reliable delivery , because ...

  9. xshell Set right click Paste

    1. open Xshell, Click on the Tools( Tools ), Choose Options( menu ), Enter the parameter setting interface .. 2.  choice Keyboard and Mouse ( Keyboard and mouse ), hold Right-bottox( towards the right ...

  10. Linux Various operators

    Catalog - Arithmetic operator - Relational operator - Logical operators - Bitwise operators - File Tester - Arithmetic operator Arithmetic operator , Commonly used +.-.*./.%.++.--.** + - The addition operator [root@www ...