Site Menu
- Home
- Products
- NexusDB
- Nexus Quality Suite
- NexusDB Drivers & Connectors
- Nexus Remoting
- Nexus Memory Manager
- Some of our Customers
- Testimonials and use(r)s
- Downloads
- Documentation
- Support
- Pricing & Orders
- About
- Community
- My Nexus
- Recently Updated ...
- Search...
- Site Login
Search
Check for Server Example
Wed, 01/07/2009 - 19:47 | hdanzl
0
This example shows how to try to connect to a server from a thread to make sure the application stays responsive. This is very useful over slow connections where a full connection can take a few seconds.
How to use?:
To use this example, have a remote server running, set database alias to one that exists on your server, and set tablename to an existing one.
Then run program, observe it will try to connect to the ServerName hardcoded for 10 seconds, and then give up.
To adjust the timeout, set the Sleep() parameter to the needed number of milliseconds.
Replace hardcoded ServerName with the one your remote server is using, and run program. It should now connect.
Category:
Code Examples
Current Version:
1.00
Supported Products:
NexusDB V2
NexusDB V3
Attachment | Size |
---|---|
CheckServerName.zip | 2.95 KB |
Questions? Problems?
- Interested to buy but something put you off?
- Can't find what you're looking for?
- Have a suggestion?
Let us know. If you're having trouble contacting us, please check here.
Site Updates
- Dec 4 2024 - 1:53pm
- Dec 4 2024 - 1:48pm
- Nov 19 2024 - 1:04pm
- Oct 17 2024 - 10:27am
- Jul 24 2024 - 1:22pm