|
Home > Archive > Sybase Open Client > March 2005 > Is there a connection limit or socket limit in openclient libs ?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Is there a connection limit or socket limit in openclient libs ?
|
|
|
| Hello
do the OpenClient libs have a connection limitation or similar
restrictions in libct. Can an open server handle as many connection as
number of connections defined in the ASE server / sp_configure "number
of user connections" ?
| |
|
| On 2 Mar 2005 13:30:04 -0800, Opera <RabasMa1@datacomm.ch> wrote:
By default OpenClient limits your program to 25 connections, same as
the ASE dataserver does by default. You can raise the limit by :
CS_INT numConn = 128;
ret = ct_config (cntx_ptr, CS_SET, CS_MAX_CONNECT, &numConn,
CS_UNUSED,
NULL) ;
EXIT_IF ( "ct_config() CS_MAX_CONNECT" ) ;
Do this before you build connections. but after you get the global
context and ct_init().
Jay
>Hello
>
>do the OpenClient libs have a connection limitation or similar
>restrictions in libct. Can an open server handle as many connection as
>number of connections defined in the ASE server / sp_configure "number
>of user connections" ?
>
|
|
|
|
|