Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Find running database servers on the network

2 posts in General Discussion Last posting was on 2006-03-14 18:41:31.0Z
Mark Posted on 2006-03-14 17:00:51.0Z
From: "Mark" <mark@3wt.nl>
Newsgroups: ianywhere.public.general
Subject: Find running database servers on the network
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-Original-NNTP-Posting-Host: 213.144.254.66
Message-ID: <4416e6fa@forums-2-dub>
X-Original-Trace: 14 Mar 2006 07:53:30 -0800, 213.144.254.66
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 14 Mar 2006 07:53:31 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 14 Mar 2006 09:00:51 -0800
X-Trace: forums-1-dub 1142355651 10.22.108.75 (14 Mar 2006 09:00:51 -0800)
X-Original-Trace: 14 Mar 2006 09:00:51 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:5224
Article PK: 1281

Hi,

I need to be able to find all the running servers on the network in .net. I
could not find any functions in the sybase .net api's for this. Does sybase
offer a solution for this ?

thanx in advance,
Mark Huisinga

SQL Anywhere
version 9.0.2.3249


Greg Fenton Posted on 2006-03-14 18:41:31.0Z
From: Greg Fenton <greg.fenton_NOSPAM_@ianywhere.com>
Organization: iAnywhere Solutions Inc.
User-Agent: Mozilla Thunderbird 1.6.3.2f (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: ianywhere.public.general
Subject: Re: Find running database servers on the network
References: <4416e6fa@forums-2-dub>
In-Reply-To: <4416e6fa@forums-2-dub>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: gfenton-t30.sybase.com
X-Original-NNTP-Posting-Host: gfenton-t30.sybase.com
Message-ID: <44170e5b$1@forums-1-dub>
Date: 14 Mar 2006 10:41:31 -0800
X-Trace: forums-1-dub 1142361691 10.25.98.144 (14 Mar 2006 10:41:31 -0800)
X-Original-Trace: 14 Mar 2006 10:41:31 -0800, gfenton-t30.sybase.com
Lines: 31
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:5225
Article PK: 1282


Mark wrote:
>
> I need to be able to find all the running servers on the network in .net. I
> could not find any functions in the sybase .net api's for this. Does sybase
> offer a solution for this ?
>

Hi Mark,

Questions about SQLAnywhere are better posted to the newsgroup:

sybase.public.sqlanywhere.general

as this is where the SQLAnywhere community traditionally hangs out. For
details see:

http://www.ianywhere.com/support/newsgroups.html

I don't know of any way within the .NET APIs to locate servers on the
network. I assume you could use a system call to run "dblocate.exe" and
read its output.

Hope this helps,
greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/