码迷,mamicode.com
首页 >  
搜索关键字:descriptor    ( 439个结果
linux中select的使用方法
fd_set是一组文件描述符(fd,file descriptor)的集合,它用一位来表示一个fd。系统提供了4个宏对描述符集进行操作: #include #include //设置文件描述符集fdset中对应于文件描述符fd的位(设置为1)void FD_SET(int fd, fd_set *f...
分类:系统相关   时间:2014-06-04 20:48:17    阅读次数:343
Python中常见的文件对象内建函数
文件对象内建方法列表 文件对象的方法 操作 file.close() 关闭文件 file.fileno() 返回文件的描述符(file descriptor,FD,整数值) file.flush() 刷新文件的内部缓冲区 file.isatty() 判断fil...
分类:编程语言   时间:2014-05-18 06:23:28    阅读次数:197
ORA 12505 Listener does not currently know of SID given in connection descriptor
oracle数据库正常启动后,在本地可以正常访问,但是远程使用sqldevelop却不能访问,提示ORA 12505 Listener does not currently know of SID given in connection descriptor,解决这个问题之前,先看一下oracle服务器正常启动流程 1.启动监听  命令:lsnrctl start 2.登陆sqlplus...
分类:其他好文   时间:2014-05-18 05:04:30    阅读次数:243
Linux 高性能服务器编程——高级I/O函数
重定向dup和dup2函数[cpp] view plaincopyprint?#includeintdup(intfile_descriptor);intdup2(intfile_descriptor_one,intfile_descriptor_two);dup创建一个新的文件描述符, 此描述符和...
分类:系统相关   时间:2014-05-14 22:34:09    阅读次数:479
Flex读取txt文件中的内容(二)
Flex读取txt文件中的内容 自动生成的文件 LoadTxt-app.xml: <!-- Adobe AIR Application Descriptor File Template. Specifies parameters for identifying, installing, and launching AIR applications. xmlns - ...
分类:其他好文   时间:2014-05-08 03:58:40    阅读次数:261
IDT系列:(一)初探IDT,Interrupt Descriptor Table,中断描述符表
原文:IDT系列:(一)初探IDT,Interrupt Descriptor Table,中断描述符表IDT,Interrupt Descriptor Table,中断描述符表是CPU用来处理中断和程序异常的。一、有关IDT的基本知识1、中断时一种机制,用来处理硬件需要向CPU输入信息的情况。 比如...
分类:其他好文   时间:2014-05-07 16:39:00    阅读次数:399
Servlet基础之一:Servlet基本接口与类
1、概述 Servlet API中共有5个包,约113个接口和类: javax.servlet javax.servlet.http javax.servlet.jsp javax.servlet.annotation javax.servlet.descriptor 2、Servlet接口 (1)所有Servlet/JSP应用必须直接或者间接实现Servlet接口, Servlet/JS...
分类:其他好文   时间:2014-05-07 03:45:45    阅读次数:264
Error: Socket descriptor not found. Hint: the problem might be solved applying the following:
今天早上在使用LoadRunner时,报了如下的错误,开始并未看错误以为是录制问题引起,就重新录制了一遍,简单施压看看错误是否还有,结果错误仍然有,如下所示:Error:Socketdescriptornotfound.Hint:theproblemmightbesolvedapplyingthefollowing:(1)UpdateRun-TimeSettingstoRu..
分类:移动开发   时间:2014-05-06 16:36:23    阅读次数:611
用 select 实现处理多连接的异步通讯服务器
因为对于任何句柄 ( file descriptor ) select 函数都能检测出其状态变化,对于用于 listen 的 socket 也是一样。只要把用于 listen 的 socket 加入 ( FD_SET ) 到 select 检测的集合里,当有连接到来时 select 就能判断到。因为...
分类:其他好文   时间:2014-05-06 01:07:16    阅读次数:271
439条   上一页 1 ... 42 43 44
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!