() // www.elivn.com
{
Status ("starting ...");
Rdpclient. Connect ();
}
Disconnect a remote connection
Public void disconnect (){Status ("disconnecting ...");Rdpclient. disconnectedtext = "disconnected ";
If (rdpclient. connected! = 0){Rdpclient. Disconnect ();}}
Reconnect to a remote objectDuring the connection, you must specify the server, user name, and password.
Public void reconnect (bool haschanges,
appearance of the connection is not a problem, but in fact, the issue of the message, you send you a message through the server, OK Server will give you the corresponding response, if not receive the response, you handle the failure, disconnect the socket, here is a simple understanding: three: Disconnecting a heavy connectionOur own initiative to disconnect the Scoket connection (log out, the app exits to the background, etc.) is not required to reconnect
All the content is collected in the network, part of the simple translation First, use screen to execute commandsnohup The command executes after the command is executed in the background, even if you exit the login. However, you cannot reconnect to this session, and to reconnect to this session, you can use the screen command as described in the previous article. The Linux Screen command provides the abil
Common situation
1, to confirm the data line is good, USB interface is not bad, if the mobile phone connected to the desktop, USB port to select the rear of the chassis.
2, confirm that the USB debug mode is turned on again.
3, if you are using a millet phone, in the "Authorization Management"-"program" to find 2345 mobile phone assistant, and open the "I trust this program" option.
4, try plugging the data cable to reconnect, reboot the computer
1, replace the access point, reconnect the network
2. Click the menu button on the phone and select "Set"
3, click "Wireless and Network"
4, click "Mobile Network"
5, click the "Access Point name"
6, click another access point, the phone will automatically switch to another access point, and reconnect
7, shutdown restart, reconnect
for-?--auto-rehash Enable automatic rehashing. One doesn ' t need to use' Rehash ' to get table and field completion, but startupAnd reconnecting may take a longer time. Disable with--disable-auto-rehash.-A,--no-auto-rehashNo automatic rehashing. One have to use ' rehash ' to getTable and field completion. This gives a quicker start ofMySQL and disables rehashing on reconnect. WARNING:Options deprecated; Use--disable-auto-rehash instead.-B,--batch Do
1. Use the symbol to execute commands in the backgroundYou can add the symbol to the Linux command or script to make the command or script execute in the background, for example:.$./my-shell-script.sh 2. Use Nohup to execute commands in the backgroundAfter you use the symbol to execute commands or scripts in the background, the command is automatically terminated if you log out. To avoid this situation, you can use the Nohup command as follows:$ nohup./my-shell-script.sh 3. Use screen to exec
Using PHP as a background run program (such as bulk SMS), executing php,php in CLI mode requires a MySQL loop to perform database processing.
When the MySQL connection flashes, the execution of the loop will fail.
We need to design a method that, when MySQL flashes, can automatically reconnect, so that the following program can be performed normally.
1. Create Test data table
CREATE TABLE ' user ' (
' id ' int ' unsigned NOT null auto_incre
there is no disconnection! However, the change data on the main library is not synchronized to the library for a long time. If there is no human intervention, the main library will be automatically reconnected from the library until one hours later, to continue synchronizing changes to the main library .When this happens, there is no data delay from the library through normal monitoring. Thus, it is clear that it is not enough to determine whether synchronization is delayed simply by seconds_be
gechongrepl:secondary> use admin
switched to DB admin
gechongrepl:secondary> db.shutdownserver ()
P: gechongrepl:primary> use admin switched to DB admin gechongrepl:primary> db.shutdownserver () Assert Failed:unexpec Ted Error:Error:shutdownServer Failed:no electable secondaries caught up as of 2015-05-28t23:59:19.685-0700 Error:asse RT failed:unexpected Error:Error:shutdownServer Failed:no electable secondaries caught up as of 2015-05-28t23:59:19.6 85-0700 at Error ( A: gechongrepl:arbiter> u
Tags: mat targe backup fixed exec back up script post nbsp feature1. Use the symbol to execute commands in the backgroundYou can add the symbol to the Linux command or script to make the command or script execute in the background, for example:.$./my-shell-script.sh 2. Use Nohup to execute commands in the backgroundAfter you use the symbol to execute commands or scripts in the background, the command is automatically terminated if you log out. To avoid this situation, you can use the Nohup co
weight parameter indicates the number of buckets created for this server. It is used to control the weight of the selected server. The probability of a single server being selected is relative to the total weight of all servers.
The timeout parameter indicates the connection duration (timeout) in seconds. The default value is 1 second.
The retry_interval parameter indicates the Retry Interval when the server connection fails. The default value is 15 seconds. If this parameter is set to-1, no Re
screen) 2. create a new virtual terminal in screen (now you have two virtual terminals in screen) ctrl + a + c (press ctrl + a first, then press c, the following command is the same) 3. switch the previous ctrl + a + p and the next ctrl + a + n List to ctrl + a + shift + "4. close a virtual terminal ctrl + a + k or exit5. pause the screen. (after the screen is suspended, you return to the shell that creates the screen) ctrl + a + d6, reconnect screen
, Io.enable, io.disable. Where Io.set is set for a single item, io.enable and io.disable are used for single-set Boolean configurations. Io.configure allows you to configure different parameters for different production environments, such as devlopment,test, and so on.2. ClientCreate a socket connectionvar socket = io ("ws://103.31.201.154:5555");Listening for service messagesSocket.on (' msg ', function (data) { socket.emit (' msg ', {rp: "Fine,thank You"});//Send message to Server consol
standby and one is cold standby.First of all, the cold is to configure a switch to be the same as the switch running on the line, once the problem occurs on the line, notify the room to replace the switch, and reconnect between the server and the upper switch.The hot spare is that once a switch has a problem, it automatically switches to another switch without having to notify the machine room to reconnect
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.