Article Source: http://blog.163.com/yuyi_vc/blog/static/170371753201152901727665/
During UDP programming, the most common question is how many bytes are sent at a time?
Of course, there is no unique answer. The answer to this question varies with systems and requirements, here, I will only analyze the situation of sending chat messages like ICQ. For other cases, you may also get some help:
First, we know that TCP/IP is generally considered as a layer-4 protocol system, including the link layer,
I recently learned about Remoting and found that Remoting is really a good thing.
We usually have three methods to use remoting, one is
First: Publishing a public objectThe public object is created locally.Type 2: Remote creation of a public object (SAO)Object created in client requestThird: Remote creation of a private object (CAO)The object is created on the HOST, and the client references the object on the server.
I didn't quite understand the essential differences between the three. The thre
with Linux Bridge or Vxlan.
Instead, these implementations are compared to ground gas. Before we used the Docker container, we learned that Docker was isolated from the container network implemented by the Linux network namespace. When using Docker, there will be a Docker0 Linux Bridge,brctl show on the physical host or virtual machine to see Docker0 "plugged in" a lot of veth network devices:
# ip link show... ...3: docker0:
mtu 1500
................
Next we will discuss the situations where the following modes are 0, 1
Mode = 1 works in master/slave mode, and eth1 is no arp as the backup Nic
[Root @ rhas-13 network-scripts] # ifconfig verify Nic configuration information
Bond0 Link encap: Ethernet HWaddr 00: 0E: 7F: 25: D9: 8B
Inet addr: 172.31.0.13 Bcast: 172.31.3.255 Mask: 255.255.252.0
Up broadcast running master multicast mtu: 1500 Metric: 1
RX packets: 18495 errors: 0
equals 0 block request return 403#block If!file_req | | Dir_req#block表示阻止请求, returns a 403 error that currently indicates that the request is blocked if the policy file_req is not met or if the policy dir_req is satisfiedUse_backend Server_web If Itnihao_web#当满足itnihao_web的策略时使用server_web的backendUse_backend Server_blog If Itnihao_blog#当满足itnihao_blog的策略时使用server_blog的backend#redirect prefix http://blog.itniaho.cn code 301 if ItnihaoWhen #当访问itnihao. cn, use HTTP 301 to go to http://192.168.16.3
information-S Display summary information (similar to netstat-i)Add to configure the IPV6 address for the specified NICdel Deletes the IPV6 address of the specified network cardmtunetmaskTunel establishing a tunneldstaddr set a remote address to establish point-to-point communication-broadcast-pointtopointMulticast Setting the multicast flag for the network cardaddress sets IPV4 addresses for network cardstxqueuelen4. Usage Examples:Example 1: Displaying network device information (active state
If you have read VMware's network configuration in detail (a) , now continue to understand;First, use the CMD program under Windows System, ping one by using the ping commandThe network host name or IP address that can be connected:Then ping the same host name on the FEDORA15 system:Should be related to the type of network settings, my network card is the way to set host-only;So in order for the FEDORA15 to be able to ping the host address, let's set the next newThe network card, but does not
Failure phenomenon:
1, on the Vnxe, can not use 192.168.2.2 this IP address to create a shared folder server or iSCSI server;
2, the use of 192.168.2.2 this IP address to create a server failed, and reported "IP address has been used (error code: 0X600089C)" error message.
Solution:
192.168.2.2 This IP address is occupied by the data mover of the Vnxe two storage processor (SP). You can log in to the Vnxe command-line interface by putty using the service account. Then follow these steps:
Se
Recently, because in the study remoting, pure just understand, discover remoting is really good thing.
We usually have three ways to use remoting, one of which is
First: Publishing a public objectThe exposed object is created locallySecond: Remote creation of a public object (SAO)Object created in client requestThird: Remote creation of a private object (CAO)object is created on the host, and the client references the object on the server
I don't really understand the essence of these three kind
Tags: Linux routing configuration Miscellaneous basics11.211.2.1 ifcfg View Linux Routing entries[[emailprotected] ~]# route -nKernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Iface10.201.106.0 0.0.0.0 255.255.255.0 U 0 0 0 eth00.0.0.0 10.201.106.2 0.0.0.0 UG 0 0 0 eth0View system Activity Status Network interface information[[emailprotected] ~]# ifconfigens33: flags=4163Show all active a
of LAN, but not exactly the same as the LAN protocol, so there is room for optimization. We can modify the relevant parameters in the registry through the software so that the system is optimized for ADSL. The specific parameters are MAXMTU, Defaultrcvwindow, etc., this optimization can make ADSL adapt to ISP network parameters, maximize the efficiency of ADSL.
The MTU is the abbreviation for the English Maximum transmission unit, which means ' Maximum transmission units ', that is, the maximu
method One : Enter the MySQL installation directory to open the MySQL profile My.ini or my.cnf find max_connections=100 Modify for max_connections=1000 service to restart MySQLRecommend the first method, the modification is more convenient.
method Two : MySQL's maximum number of connections default is 100 client login: Mysql-uusername-ppassword
Sets the new maximum number of connections to 200:mysql> set GLOBAL max_connections=200
Displays the currently running query:mysql> show processlist
:
3. Script code
$ (function () {
///define a variable save distance to the left position
var leftnum=0;
$ ("#zou"). Click (function () {
if (leftnum==0) {
//move to Last picture
$ ("#imgBox"). Animate ({left:leftnum=-1500}, );
else{
$ ("#imgBox"). Animate ({left:leftnum=leftnum+750},500);
}
);
$ ("#you"). Click (function () {
if (leftnum==-
back:
-O max_connections=1500
The specific point is the following location:
In the Red Word special Description:
then $NOHUP_NICENESS $ledir/$MYSQLD $defaults --basedir=$MY_BASEDIR_VERSION --datadir=$DATADIR $USER_OPTION --pid-file=$pid_file --skip-external-locking -O max_connections=1500 >> $err_log 2>1 else eval "$NOHUP_NICENESS $ledir/$MYSQLD $defaults --basedir=$MY_BASEDIR_VERSION --datadir=$DATADI
Tags: broadcast supplemental occupancy system roo type Linux Pre commIfconfigConfiguring and displaying network parameters for Linux system NICsAdditional InformationThe ifconfig command is used to configure and display network parameters for network interfaces in the Linux kernel. The NIC information configured with the Ifconfig command does not exist after the machine restarts after the network card restarts. In order to keep the above configuration information in the computer forever, it is n
MySQL tutorialDuring this time, the server crashed twice and no reason was found. I saw an error message email sent from the Forum today, remembering the problem that may be caused by the default connections of mysql, the default number of connections is only 100. How can this problem be solved? I found some information on the Internet for half a day and said I should modify my. for cnf, it is said to modify safe_mysqld and try again. The former is useless,
The latter file cannot be found: the o
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.