Android communication protocol and Android communication protocol
I. TCP/IP protocol (Transport Layer Protocol)
1. Socket and ServerSocket
Socket is the intermediate abstraction layer for communications between the application layer and the TCP/IP protocol cluster. Socket is
. Confirm that the destination is issued, and use it to tell the sender that the data segment before the serial numberAll received. For example, the confirmation number is x, that is, the first X-1 data segment received, only when ack=1, the confirmation number is valid, when ack=0, the confirmation number is invalid, this will require retransmission of data, to ensure the integrity of the data.SYN Synchronous serial number, TCP establishes this position 1 when establishing a connectionThe FIN s
disappears when both ends of the relayed connection are closed. A channel is often used when a portal must exist or the intermediary (intermediary) cannot interpret the relay's traffic.14. Cache: Local storage of the reaction information.2. Sending the requestAfter a connection is opened, the client sends the request message to the server's dwell port to complete the request action.The format of the http/1.0 request message is:Request message = Reque
for the port to return to the forwarding normal state. Re-viewing the port in the err-disabled state, no ports are found in this state, and the G17 state is restoredSwitch (config) #interface gigabitethernet 0/17switch (config-if) #shutdown Switch (config-if) #no shutdown switch#show Interfaces Gigabitethernet 0/17gigabitethernet0/17 is down, line protocol are d
Password Admin Login to the router's management interface, click on the router's forwarding rules-Virtual server- Add a new entry, as shown in Figure 3:
Figure 3
The port mapping settings are as follows: The service port number fills in 80, if fills in 80-82 to represent maps 80, 81, 82 ports, the IP address fills in intranet Web server's IP address 192.168.1.101, the
, Proxy Server
When we open the browser, enter the URL in the address bar, and then we can see the webpage. What is the principle?
In fact, after we enter the URL, our browser sends a Request to the Web server. After receiving the Request, the Web server processes the Request, generates the corresponding Response, and then sends it to the browser, the browser parses the HTML in Response, so that we can see the webpage, as shown in the process.
Our Request may be sent to the Web server only afte
1. Introduction to ZigBee protocol stackProtocol is a series of communication standards, both sides of the communication need to follow this standard for normal data transmission and reception. Protocol stack is a concrete implementation of the Protocol, the popular protocol stack is a
, the traffic originally assumed by the port will be allocated to other normal ports through the traffic distribution algorithm again. The traffic distribution algorithm is determined by the switch hardware.To make the port channel work normally, the member ports of the port channel must have the following attributes:
All ports are in full duplex mode;
The
used to remotely determine if a host is present on the network. A ping program is a basic tool for testing the connectivity of two systems. It uses only the ICMP echo request and Echo reply message, without passing through the transport layer tcp/udp. Ping servers typically implement ICMP functionality in the kernel.The accessibility of a host on a network depends not only on whether the IP layer is available, but also on what protocol and
that the connection uses, the IP address of the local host, the protocol port of the local process, the IP address of the remote host, and the protocol port of the remote process.When the application layer communicates data through the transport layer, TCP encounters a problem that provides concurrent services for mul
number is invalid, this will require retransmission of data, to ensure the integrity of the data.SYN Synchronous serial number, TCP establishes this position 1 when establishing a connectionThe FIN sender completes the send task bit, and when TCP completes the data transfer needs to disconnect, the side that proposes the disconnection will have this position 1TCPthe Baotou structure:Source Port 16-bitDestination
method is most used to submit HTML form data. The server often processes the data submitted by the POST method, such as storing the data in the server database.
The sample request contains a line of header information. The header information is named Host. The HTTP request must contain the Host header to describe the server address and port. The default port of the HTTP
HTTP protocol is the star of the biggest wrist.Part3.http about how it works.HTTP, which conforms to the Client/sever model, is always the client to initiate the request. The whole process can be easily divided into four steps:(1) The client initiates the request, and the server side completes the "TCP Three handshake";(2) The client sends an "HTTP request message" to the server side;(3) The server sends an "HTTP response message" to the client after
connections at the same time. However, with a short connection, it is not possible to control the number of connections to the server at the same time, which is also an advantage to handle a large number of connection requests at the same time. However, if the amount of connection requests is too large, it may cause the server to stop working.WebService does not require a connection, it can support at least tens of 100,000 of requests in a second, each request is then released, and there is no
The first thing to do is to modify the default port of SSH 22Need to modify file/etc/ssh/sshd_configUsing commandsVi/etc/ssh/sshd_config[[emailprotected] ~]# vi/etc/ssh/sshd_config# $OpenBSD: sshd_config,v 1.90 2013/05/16 04:09:14 dtucker Exp $# This is the SSHD server system-wide configuration file. see# Sshd_config (5) For more information.# This sshd is compiled with path=/usr/local/bin:/usr/bin# the strategy used for Options in the default Sshd_
obtains or sets the byte Encoding for text conversion before and after transmission.Handshake obtains or sets the Handshake protocol for serial port data transmission.IsOpen gets a value, which indicatesEnable or disable the SerialPort objectNewLine gets or sets the value used to explain the end of the call of the ReadLine () and WriteLine () methods.Parity gets or sets the Parity Check
limit, that's FQ.3. Hide identities.URL detailedThe URL (Uniform Resource Locator) address is used to describe a resource on a network with the following basic formatschema://host[:p ort#]/path/.../[?query-string][#anchor]Scheme specifies the protocol used by the lower layer (for example: HTTP, HTTPS, FTP)The IP address or domain name of the host HTTP serverThe default port for the
prevent multiple connections at the same time. However, with a short connection, it is not possible to control the number of connections to the server at the same time, which is also an advantage to handle a large number of connection requests at the same time. However, if the amount of connection requests is too large, it may cause the server to stop working. WebService does not require a connection, it can support at least tens of 100,000 of requests in a second, each request is then released
multiple connections at the same time. However, with a short connection, it is not possible to control the number of connections to the server at the same time, which is also an advantage to handle a large number of connection requests at the same time. However, if the amount of connection requests is too large, it may cause the server to stop working.WebService does not require a connection, it can support at least tens of 100,000 of requests in a second, each request is then released, and the
support was established for listening locally on port 1434.
Here, 1433 is the port number of the SQL Server listener.
SQL Server 2005 system extended storage process SYS. readerrorlog can read SQL Server server log files. Note that the log file here refers to the SQL Server server log, not the SQL Server database log file.
Method 2]
Click Start in the lower-left corner of the Computer-> Microsoft SQL serv
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.