The implementation of the androidclient is generally as follows:
1, first scan all the PC in the LAN, see if there is a PC server in the execution and monitoring 30000port.
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center ">
2, assume that there is no scan to the PC side of the server in the execution and monitoring 30000port. Then scan or exit again.
3, scan to a pc-side server in the execution and monitoring 30000port, then control the PC end shutdown, restart or cancel shutdown.
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center ">
4, click the Shutdown button, send instructions to the Pcserver side
5. Click Restart button to send the command to the Pcserver side.
6. Click Cancel button to send the command to the Pcserver end.
====================================================================================
Ouyangpeng Welcome reprint. Sharing with others is the source of progress!
Reprint please keep the original address : Http://blog.csdn.net/ouyang_peng
====================================================================================
My Android Step-by-step tour------> Android enables control of PC-side shutdown and restart function with Android Phone (ii) androidclient function display