Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - connect pool
Search - connect pool - List
一个线程驰的类, 下面的是基本的使用方法 struct TSession { SOCKET socket int id } class myIocp:public CIOCP { public: void OnRead(void * p, char * buf, int len) void OnAccept(SOCKET socket) void OnClose(void * p) } void myIocp::OnAccept(SOCKET socket) { TSession *s = new TSession s->socket = socket //这里可以对连接的session进行自己的操作,例如给id找一个唯一的值 SetIoCompletionPort(socket, s) // 使连接socket与一个自定义结构体关联 } void myIocp::OnRead(void * p, char * buf, int len) { TSession *s = (TSession *)p send(s->socket, buf, len, 0) // 这里只是简单的把收到的消息返回给客户端 ... } void myIocp::OnClose(void * p) { delete p } myIoncp iocp main() { ... iocp.listen(4311) // 开始监听网络端口,等待客户端连接 ... }-A class for thread pool,basic usage below: struct TSession { SOCKET socket int id } class myIocp:public CIOCP { public: void OnRead(void * p, char * buf, int len) void OnAccept(SOCKET socket) void OnClose(void * p) } void myIocp::OnAccept(SOCKET socket) { TSession *s = new TSession s->socket = socket //here you can do something about connection session,such as find a unique id. SetIoCompletionPort(socket, s) // make connection socket associate with a custom structure } void myIocp::OnRead(void * p, char * buf, int len) { TSession *s = (TSession *)p send(s->socket, buf, len, 0) // return received message to client void myIocp::OnClose(void * p) { delete p } myIoncp iocp main() { ... iocp.listen(4311) //start listenning net port,wait for client connect.
Date : 2008-10-13 Size : 2.64kb User : boxu

该系统是jsp+mysql+javabean的大型购物。 1、正确配置服务器,该系统已经在tomcat4.0.1和resin3.0下调试通过; 2、用doc目录下的表结构在mysql上建表, 3、正确配置poolman.xml中的数据库连接池,-Merchant shopping web site source code. write in jsp+mysql+javabena. Database creating sql in dictory doc, database connect pool config in poolman.xml.
Date : 2008-10-13 Size : 5.03mb User : savior618

数据库不连接池.用于对数据库连接进行管理.-database connection pool. The database is used to connect management.
Date : 2008-10-13 Size : 13.54kb User : HELI

数据库连接包括连接池。很有用的资料,大家不妨看看叫你如何连接数据库,以及提示你如何抛出一场处理等等 -database connectivity, including connection pool. Very useful information, we ask you to take a look at how to connect to the database, and how do you suggest a treatment dished out, etc.
Date : 2008-10-13 Size : 883.21kb User : 宋福钰

omcat连接池配置代码 在server.xml文件中加入代码-omcat connection pool in server.xml configuration code to code documents
Date : 2008-10-13 Size : 1.31kb User : liuyue

JAVA通过连接池技术连接MYSQL数据库, MYSQL用户名 root 密码kof2-Java technology through the connection pool connect MYSQL database, MYSQL user name root password kof2
Date : 2008-10-13 Size : 3.53kb User : zhaohaijian

数据库连接池在编写应用服务是经常需要用到的模块,太过频繁的连接数据库对服务性能来讲是一个瓶颈,使用缓冲池技术可以来消除这个瓶颈。-database connection pool in the preparation of application services is often necessary to use modules, too busy to connect to the database in terms of service performance is a bottleneck, the use of buffer pool can to eliminate this bottleneck.
Date : 2008-10-13 Size : 11.41kb User : zhubin

利用Java写的数据库连接池代码,能够很好实现对连接的管理-written using Java database connection pool code to connect to achieve good management
Date : 2008-10-13 Size : 5.75kb User : sun ligang

JAVA连接数据库的几个版本,由数据源到连接池,适合初学JDBC的-JAVA connecting to the database several versions, from the data source to connect pool, suitable for beginners JDBC
Date : 2008-10-13 Size : 32.61kb User : 龙龙

一个线程驰的类, 下面的是基本的使用方法 struct TSession { SOCKET socket int id } class myIocp:public CIOCP { public: void OnRead(void * p, char * buf, int len) void OnAccept(SOCKET socket) void OnClose(void * p) } void myIocp::OnAccept(SOCKET socket) { TSession *s = new TSession s->socket = socket //这里可以对连接的session进行自己的操作,例如给id找一个唯一的值 SetIoCompletionPort(socket, s) // 使连接socket与一个自定义结构体关联 } void myIocp::OnRead(void * p, char * buf, int len) { TSession *s = (TSession *)p send(s->socket, buf, len, 0) // 这里只是简单的把收到的消息返回给客户端 ... } void myIocp::OnClose(void * p) { delete p } myIoncp iocp main() { ... iocp.listen(4311) // 开始监听网络端口,等待客户端连接 ... }-A class for thread pool,basic usage below: struct TSession { SOCKET socket int id } class myIocp:public CIOCP { public: void OnRead(void* p, char* buf, int len) void OnAccept(SOCKET socket) void OnClose(void* p) } void myIocp::OnAccept(SOCKET socket) { TSession*s = new TSession s->socket = socket //here you can do something about connection session,such as find a unique id. SetIoCompletionPort(socket, s) // make connection socket associate with a custom structure } void myIocp::OnRead(void* p, char* buf, int len) { TSession*s = (TSession*)p send(s->socket, buf, len, 0) // return received message to client void myIocp::OnClose(void* p) { delete p } myIoncp iocp main() { ... iocp.listen(4311) //start listenning net port,wait for client connect.
Date : 2025-07-02 Size : 2kb User : boxu

该系统是jsp+mysql+javabean的大型购物。 1、正确配置服务器,该系统已经在tomcat4.0.1和resin3.0下调试通过; 2、用doc目录下的表结构在mysql上建表, 3、正确配置poolman.xml中的数据库连接池,-Merchant shopping web site source code. write in jsp+mysql+javabena. Database creating sql in dictory doc, database connect pool config in poolman.xml.
Date : 2025-07-02 Size : 5.03mb User : savior618

omcat连接池配置代码 在server.xml文件中加入代码-omcat connection pool in server.xml configuration code to code documents
Date : 2025-07-02 Size : 1kb User : liuyue

数据库连接池在编写应用服务是经常需要用到的模块,太过频繁的连接数据库对服务性能来讲是一个瓶颈,使用缓冲池技术可以来消除这个瓶颈。-database connection pool in the preparation of application services is often necessary to use modules, too busy to connect to the database in terms of service performance is a bottleneck, the use of buffer pool can to eliminate this bottleneck.
Date : 2025-07-02 Size : 11kb User : zhubin

JAVA连接数据库的几个版本,由数据源到连接池,适合初学JDBC的-JAVA connecting to the database several versions, from the data source to connect pool, suitable for beginners JDBC
Date : 2025-07-02 Size : 32kb User : 龙龙

包括ezdbc客户端连接工具ezsql全套源码、ezdbc安装手册、ezdbc API文档、ezdbc client for vc db connect pool源码等。-Including ezdbc client connectivity tools ezsql a full set of source code, ezdbc Installation Guide, ezdbc API documentation, ezdbc client for vc db connect pool source and so on.
Date : 2025-07-02 Size : 726kb User : Eagle518

DL : 0
ftp连接池,节省创建ftp连接的时间 -ftp connection pool, saving the time to create ftp connect
Date : 2025-07-02 Size : 4kb User : testtest

此代码作为Server,使用TCP Socket编程技术,利用多线程并发,并且使用了线程池技术,修改宏定义可以实现任意路client并发连接到此服务器-This code as a Server, using TCP Socket programming using concurrent multi-threaded, and uses the thread pool technology, to amend the definition of macros can be complicated by the arbitrary way to connect to this server client
Date : 2025-07-02 Size : 4.34mb User : xuzhisheng

数据库连接池代码,如果要 new Connection 就可以直接从数据库连接池中返回 Connection-database connect pool code
Date : 2025-07-02 Size : 2kb User : tomtest

java 连接oracle的连接池示例,对初学者很有用哦-document for java connect oracle:connect pool case
Date : 2025-07-02 Size : 14kb User : apex

java实现的连接池模拟,oracle数据库,获取,收回、删除,初始化-connect pool
Date : 2025-07-02 Size : 1kb User : 王法
« 12 3 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.