问题:The connection to adb is down, and a severe error has occured. You must restart adb and Eclipse. Please ensure that adb is correctly located ...
分类:
数据库 时间:
2014-06-27 22:03:33
阅读次数:
294
python发送邮件的时候,总是出现:[Errno 10060] 错误码根据debug得到在connect的时候出错。认真检查了下host,没有错呀~应该就是服务器的host。查看了下网上的一些例子,发现qq的host举例:smtp.qq.com/smtp.163.com/smtp.162.com于...
分类:
编程语言 时间:
2014-06-27 21:16:48
阅读次数:
483
设置connect超时很简单,CSDN上也有人提到过使用select,但却没有一个令人满意与完整的答案。偶所讲的也正是select函数,此函数集成在winsock1.1中,简单点讲,"作用使那些想避免在套接字调用过程中被锁定的应用程序,采取一种有序的方式,同时对多个套接字进行管理"(《Windows...
分类:
其他好文 时间:
2014-06-26 00:16:15
阅读次数:
336
转载请注明转自: 存储系统研究, 本文固定链接:
socket connect error 99(Cannot assign request address) 这是最近使用libcurl写http服务的压力测试的时候遇到的一个问题,其直接表象是客户端在发送http请求时失败,最终原因是客户端的TIME_WAIT状态的socket进程过多,导致端口被占满。下面看整个分析过程:
(1) 首先看...
分类:
其他好文 时间:
2014-06-25 19:55:59
阅读次数:
1011
1、本地php+Apache服务器访问 其他ip的mysql数据库我用mysql-client访问,一切都是正常的。但是当用php访问的时候报错:Warning: mysqli_connect() [function.mysqli-connect]: (HY000/2003): Can't conn...
分类:
其他好文 时间:
2014-06-25 16:29:44
阅读次数:
187
向python进军。。。。。。运行所需环境:python,MySQLdb贴下自己写的关于sql备份的python脚本:#!/usr/bin/envpythonimportMySQLdbimportosimporttimedataList=[]remoteAddr=‘xxxx‘user=‘root‘password=‘xxxx‘dbConnect=MySQLdb.connect(%s,%s,%s)%(remoteAddr,user,password)cu..
分类:
数据库 时间:
2014-06-25 06:24:30
阅读次数:
265
Android开发环境搭建时遇到问题的解决方法
错误1:
The connection to adb is down, and a severe error has occured.
[2013-08-31 16:11:56 -com.qihoo.subject]
You must restart adb and Eclipse.
[2013-08-31 16:11:56...
分类:
移动开发 时间:
2014-06-24 23:51:52
阅读次数:
514
25.2.3.48. mysql_options()
int mysql_options(MYSQL *mysql, enum mysql_option option, const char *arg)
描述
可用于设置额外的连接选项,并影响连接的行为。可多次调用该函数来设置数个选项。
应在mysql_init()之后、以及mysql_connect()或mysql_real_co...
1.在Android开发中调用adb命令进行应用安装,将应用安装到 /system/app目录下
/**
* install the app in use adb command,this style is silent
*
*/
private void adbInstallTheAPP(){
//adb push cor...
分类:
移动开发 时间:
2014-06-24 18:04:18
阅读次数:
291
问题:使用adb pull命令从android系统中读取文件失败。显示:Permission denied原因:是由于文件权限原因引起。 使用ls -l命令查看android系统中的文件权限为: -rw-rw---- app_51 app_51 也就是说,该文件只有app_51用户以及app...
分类:
移动开发 时间:
2014-06-24 14:54:16
阅读次数:
263