Before we introduce sockets, let's look at the protocol TCP and UDP for the transport layer:The difference between TCP protocol and UDP protocolFirst we understand that the TCP protocol and the UCP protocol and the TCP/IP protocol, many people are
20 days did not organize the system, previously for the interview for the study, the previous period of time want to change a way to improve the technical strength to learn, but the efficiency is too low. In fact, I lost a lot of things, the peak of
a cookie was set up in the project and was successfully tested under Firefox. There was a problem with the IE test, and the location found to be a problem with the path to JavaScript setting cookies. The cookie under IE is set to the path of the URL,
function | The string manipulation function in string PHP3.0 is much more important for the following:
(1) echo,print,printf,sprintf
is used for output strings. If a variable name is substituted in the string, it is replaced with its value.
The difference between GET and POSTGet note that the query string (name/value pair) is sent in the URL of the GET request:/test/demo_form.asp?name1=value1&name2=value2
Get requests can be cached
GET requests remain in browser history
tcp.py
Copy Code code as follows:
#-*-coding:cp936-*-
Import socket
from struct import *
From time import Ctime,sleep
From OS import system
System (' title TCP Sniffer ')System (' Color 05 ')
# The Public network interfaceHOST =
If file. Name is Chinese and is garbled. Solution is
Method 1:
Response.setheader ("Content-disposition", "attachment; Filename= "+ java.net.URLEncoder.encode (fileName," UTF-8 "));
Download the program has the above sentence, generally in the IE6
Instant Messaging (Instant Messenger, IM) software is based on TCP/IP and UDP communication, TCP/IP and UDP are built on the lower level of the IP protocol two communication protocols. The former is in the form of data flow, the transmission data
Sometimes it's not perfect. Some people may have saved some files, but he has changed the extension so that it is within our file type. The actual access is not displayed (because the extension does not match the contents of the file). Here's a PHP
oracle| Cycle | cursors | original
This article, is recently in the writing of a project used in the stored procedures, because it is the first contact with Oracle, it took a lot of effort to achieve the function! Special records, for
Server-side scripting technology is a very useful thing, combining it with client script technology to create a very powerful page. It seems like a long time ago, which version (appears to be the WWW edition) discussed ASP to the point of full swing,
Previously, the data transmitted in the network is not clear, by consulting the relevant data, summed up the TCP and UDP and IP message format:
TCP Message Format:
(Reproduced from http://wenku.baidu.com/view/04b0d780e53a580216fcfeaa.html in the
IntroducedIn a system called Catenet, the IP protocol is used as a host to the host datagram service. A network connection device is called a gateway. These gateways exchange information for control through gateways to Gateway protocols (GGP).
The focus of this time is on the parsing of the data. Specific WinPcap operation, because the Official handbook has been very good and powerful, I will not nonsense. Just leave a link here, you can see it on your own.
Chinese Manual:
1. Intercept Call Header length
{Str_cut ($r [title],36, ']}
2. Format Time
Call format Time 2011-05-06 11:22:33
{Date (' y-m-d h:i:s ', $r [Inputtime])}
3. Multi-column Call & Multi-recommendation bit call
Call Requirements: The article range is 59
Adif format: header () | Raw_data_stream (); After the header is a continuous raw_data_block, unlike Adts, not allowed to play from any location recently have to do ADIF AAC playback, a lot of things are done in decoder, including the analysis of
For the TCP-based development of the communication program, there is a very important problem to be solved, that is, the package and unpacking. Let's talk about my thoughts on this question. If there is any wrong, the wrong place, begged everyone to
1 RTP Message Format
The RTP message format is as follows, see RFC1889 (most audio visual coding formats are consistent, some changes are shown in various coded RTP protocols):
A. RTP Header format Simple introduction
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0
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.