对于面向连接的socket类型(SOCK_STREAM,SOCK_SEQPACKET)在读写数据之前必须建立连接,首先服务器端socket必须在一个客户端知道的地址进行监听,也就是创建socket之后必须调用bind绑定到一个指定的地址,然后调用int
listen(int sockfd, i...
分类:
其他好文 时间:
2014-05-08 14:17:00
阅读次数:
388
adb devices 显示adb上连接的设备adb devices -l
会显示所连接设备更多的信息adb connect ip地址 连接到某个地址的设备 如:adb connect 192.168.42.1
连接到ip为192.168.42.1的tablet, 而这个地址是由image的编码决定...
分类:
数据库 时间:
2014-05-08 13:47:23
阅读次数:
395
Description
Given a map of islands and bridges that connect these islands, a Hamilton path, as we all know, is a path along the bridges such that it visits each island exactly once. On our map, there...
分类:
其他好文 时间:
2014-05-07 13:04:35
阅读次数:
402
Failed to open a session for the virtual machine winxp.
The virtual machine 'winxp' has terminated unexpectedly during startup with exit code 1.
Result Code: NS_ERROR_FAILURE (0x80004005)
Compo...
分类:
其他好文 时间:
2014-05-07 12:33:48
阅读次数:
317
1 给某人赋予"系统权限"
SQL> grant connect to aobama with admin option
意思是将admin的连接数据库权限赋予“aobama”,并且"aobama"可以将这种权限赋予其他人
2 关于赋予权限收回的问题
描述:A将查询emp表的权限赋予B,B又将该权限赋予C。那么当A把B的该权限收回时,C的权限...
分类:
数据库 时间:
2014-05-07 12:04:32
阅读次数:
367
机房断电,所以oracle的datagard的从库需要重新启动:1 登录sqlplus启动,出现报错信息:SQL> STARTUP MOUNT;ORA-16032: parameter LOG_ARCHIVE_DEST_3 destination string cannot be translatedORA-07286: sksagdi: cannot obtain device informat...
分类:
数据库 时间:
2014-05-07 06:45:10
阅读次数:
610
不小心重命名了libc.so.6动态库,运行命令
#mv /lib/libc.so.6 /lib/libc.so.6.back
#ls
ls: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
各种命令都不好...
分类:
其他好文 时间:
2014-05-07 04:49:53
阅读次数:
319
TFS 2010 配置的时候,提示TF255466错误Error [ System Checks ]
TF255466: The configuration process for Team Foundation Server cannot continue.
A previous update o...
分类:
其他好文 时间:
2014-05-07 00:15:11
阅读次数:
358
Linux/Centos安装ntop中文版一:安装环境yuminstalllibpcaplibpcap-devellibpnggdbmgdbm-develgliblibxml2-develpangopango-develgddos2unixlibtool-ltdllibtool-ltdl-develgcclibtoolrrdtool-devel检测下:yuminstall-ylibpcap*freetype*libpng*gdbm*libart_lgpl*libtool*rrdt..
分类:
其他好文 时间:
2014-05-06 20:09:48
阅读次数:
342