First, HTTP protocol:
1. What is HTTP protocol
The web address we entered in the browser's address bar is called the URL (uniformresourcelocator, Uniform Resource Locator). Just as every household has a home address, every page has an Internet address. When you enter a URL in the browser's address box or click on a hyperlink, the URL determines the address to be browsed. The browser uses the Hypertext Transfer
/0.0.1vhs.markII.remixVary: Accept-EncodingContent-Type: text/htmlX-Cache: MISS from zjm152-78.sina.com.cnVia: 1.0 zjm152-78.sina.com.cn: 80 X-Cache: MISS from th-143.sina.com.cnConnection: close
Lost connection to the host
Press any key to continue...
4. Note: 1. If an input error occurs, the request will not succeed.2. the header domain is case-insensitive.3. For more information about the HTTP protocol,
Port Concept
In network technology, Ex *] Network g.] # Yu K # The LN Port has two meanings: one is the physical Port, for example, ADSL Modem, Hub, switch, router is used to connect other network equipment interface, such as RJ-45 port, SC port and so on. The second is the logical port, which generally refers to the port in the TCP/IP protocol. The port number ranges from 0 to 65535, for example, port 80 used to browse Web Services,
6b7 T mechanism dsLgC soft #. x = e
Port 21 for the FTP servi
DNS and bind
--------------- DNS: Domain Name System
1. Development of DNS
DNS works at the application layer and listens to UDP and TCP ports 53 at the same time.
UDP response query request
TCP response
The/etc/directory in each system contains a hosts file, which implements the most direct configuration of the DNS server. At the beginning, there was a corresponding relationship between the
-modified: Thu, 30 Nov 2006 11:35:41 GMTEtag: "6277a-415-e7c76980"Accept-ranges: bytesX-powered-by: mod_xlayout_tables/0.0.1vhs.markii.remixVary: Accept-EncodingContent-Type: text/htmlX-Cache: Miss from zjm152-78.sina.com.cnVia: 1.0 zjm152-78.sina.com.cn: 80 X-Cache: Miss from th-143.sina.com.cnConnection: Close
Lost connection to the host
Press any key to continue...
4. Note: 1. If an input error occurs, the request will not succeed.2. the heade
[Proxy object] The object created in newAppDomainRemote Object: the object created in the client application domain.
[Mail, Marshal] => 2 medium mode, pass value, pass reference[Pass Value mails, Marshal By Value] transmits the object to the client[Pass reference and mail, Marshal By reference] keeps the object in the remote AppDomian, creates a proxy, and accesses the remote object through the proxy.[Method of sending and Referencing] [There are t
fed into a variable cell. The meaning of the a,l domain is the same as LOD directives.④cal: The instruction that invokes the procedure. A is the target program entry address for the called procedure, and L is the layer difference.⑤int: A data area is opened for the invoked procedure (or main program) in the run stack. The number of units opened for a field.⑥JMP: Unconditional transfer instruction, A is the
the remote host.If you want to transfer the local 1.htm to the remote host/usr/your, and renamed to 2.htmFtp> put 1.htm/usr/your/2.htm (carriage return)b) mputFormat: Mput local-filesTransfers a batch of files from the local host to the remote host.To upload all the HTML files in the local current directory to the server/usr/your/Ftp> Cd/usr/your (carriage retur
resourceThe HTPP protocol uses URIs to locate resources on the Internet. When a client requests access to a resource and sends a request, the URI needs to be included as the request URI in the request message.The full request URIGET http://jrange.com/index.htm http/1.1Specify the network domain name or IP domain name in the header field of the hostGet/index.htm http/1.1Host:jrange.comIn addition, if you ar
application tier)SCTP protocol (Flow Control Transfer Protocol) (designed to transmit phone numbers over the internet)Application Layer: The logic responsible for processing the applicationApplication layer protocol: Ping is an application, not a protocolTelnet protocol is a remote login protocolOSPF (Open Shortest Path First) protocol is a dynamic routing update protocolDNS (Domain Name Service) protocol
1. Computer networkA computer network consists of a group of machines connected by a communication channel (communication channel) . These machines are called: hosts (hosts) and routers (routers):
communication channel -a means of transmitting a byte sequence from one host to another (wired, wireless (WiFi), etc.).
host -The function is the computer that runs the program.
Routers --the role is to
Write in front: indexes have a critical impact on the speed of queries, and understanding indexes is also a starting point for database Performance tuning. Consider the following scenario, assuming that a table in the database has 10^6 records, the DBMS has a page size of 4K, and stores 100 records. If there is no index, the query will scan the entire table, in the worst case, if all the data pages are not in memory, need to read 10^4 pages, if the 10^4 pages on the disk randomly distributed, ne
, Str_repeat,str_pad1) str_repeat (x,num) repeats a character how many timesApplication Scenario: Our news portal introduction is not open, need to use ... Instead, then we can use this repetition and then show2) Str_pad ($str, ' X ', 10) fills the specified character string to the specified lengthApplication scenario: For example, we have a requirement to unify some fields into a string of the same length, and then transfer to the background processi
Research Target website background 1 Check robotstxt 2 Check site Map 3 estimate site size 4 Identify site All Technology 5 Find site owner first web crawler 1 download Web page retry Download Settings user Agent User_agent 2 crawl site Map 3 Calendar database ID for each page 4 Tracking Web links Advanced function resolution Robotstxt support proxy download speed limit avoid the final version of the Reptil
returned result set is named Sqlresult.
If it returns 1, the execution succeeds, if 0 indicates that it is executing, or if a negative number indicates execution failure.
If we want data from the Employees table in the Northwind database, we can execute the following command:
SqlExec (Hconn, "select * from EMPLOYEES", "MyCursor")Browse
Determine connection validity
This is a very practical question, after we set up a connection, how to know that
Monitoring Server StatusGet System Performance Information1, CPU information:The Linux operating system uses several parts of the CPU:User time; SystemTime; Wait Io;idlePsutil.cpu_times ()Psutil.cpu_times (). UserPsutil.cpu_count ()2 , Memory informationpsutil.virtual_memory () # View memory Full informationpsutil.swap_memory () # View Swap Partition Information3 , disk informationpsutil.disk_io_counters () # get the hard drive IO Totalpsutil.disk_usage ('/') # get the usage of a partitionpsutil
First, there are documents File11, query file1 inside the line number of empty lineCat File1 | Grep-n ^$2. Query File1 the line ending with ABCgrep abc$ File1Second, how to forward the local 80 port request to 8080 port, the current host IP is 192.168.2.1Iptables-a prerouting-d 192.168.2.1-p tcp-m tcp-dport 80-j dnat-to-destination 192.168.2.1:8080Three, crontab in November, every day in the morning 6 to 12, every 2 hours to perform the/usr/bin/httpd.sh how to achieveCrontab-l0 6-12/2 */usr/bin/
FTP_ASCII and ftp_binary two kinds
BOOL Ftp_put (int ftp_stream,string remote_file,string local_file,int mode)
Sends the CMD command to the FTP host, which is not standardized, but is related to the server's host operating system, which can be used for file access licenses, group member operations
BOOL Ftp_site (Resource ftp_stream,string cmd)
Turn off FTP connections
BOOL Ftp_quit (int ftp_stream)
A host domain name that can be passed back to an
A listener is an object that listens to and handles events or state changes that occur on other objects and takes action immediately when the object being monitored occurs.The listener in Javaweb is a special class defined in the servlet specification that listens to the creation and destruction events of ServletContext, HttpSession, and ServletRequest domain objects in a Web application. and listening for events in which the properties in these
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.