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.

How to detect physical loss of network.

3 posts in Networking Last posting was on 2003-12-15 15:54:51.0Z
Bob Rasmusens Posted on 2003-12-12 21:58:21.0Z
Message-ID: <3FDA39FD.7FACF005@weir-jones.com>
Date: Fri, 12 Dec 2003 13:58:21 -0800
From: Bob Rasmusens <wjgroup@weir-jones.com>
Reply-To: Bob Rasmusens <wjgroup@weir-jones.com>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: Advantage.Networking
Subject: How to detect physical loss of network.
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 216.232.24.29
X-Trace: 12 Dec 2003 15:02:53 -0700, 216.232.24.29
Lines: 17
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!216.232.24.29
Xref: solutions.advantagedatabase.com Advantage.Networking:447
Article PK: 1131870

Is there a way to detect the physical loss or absence of the network?

The scenario is as follows:

1. All connections are successfully created to the server
2. The network cable gets removed (real harsh). How can I detect
this? Can I?
3. How do I reestablish or do I just have to wait until the cable
gets plugged back in
and everything starts working again.

Thanks

Bob


Joachim Duerr (ADS Support) Posted on 2003-12-15 10:46:31.0Z
From: "Joachim Duerr (ADS Support)" <jojo.duerr@gmx.de>
Subject: Re: How to detect physical loss of network.
Newsgroups: Advantage.Networking
References: <3FDA39FD.7FACF005@weir-jones.com>
Organization: Extended Systems GmbH
User-Agent: XanaNews/1.15.8.2
X-Face: ,QMv7[luB)BpWAQ~:"kw6n%0ieY63.:g2K3n~8ky0;||5Xle*Xq+=~<Fy:0CVC2nx@8~vZ
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 195.2.185.25
Message-ID: <3fdd9107@solutions.advantagedatabase.com>
Date: 15 Dec 2003 03:46:31 -0700
X-Trace: 15 Dec 2003 03:46:31 -0700, 195.2.185.25
Lines: 30
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!195.2.185.25
Xref: solutions.advantagedatabase.com Advantage.Networking:448
Article PK: 1131872


Bob Rasmusens wrote in <3FDA39FD.7FACF005@weir-jones.com> :

> Is there a way to detect the physical loss or absence of the network?
>
> The scenario is as follows:
>
> 1. All connections are successfully created to the server
> 2. The network cable gets removed (real harsh). How can I detect
> this? Can I?

You'll get a Winsocket error (connection was reset by peer)

> 3. How do I reestablish or do I just have to wait until the cable
> gets plugged back in
> and everything starts working again.

No. I wrote a workaround when we first got in touch with Clustering.
First you have to set ADS.INI file not to cache the connection results:
[SETTINGS]
retry_ads_connects=1

and then reconnect and reopen all your tables.


--
Joachim Duerr
EMEA Lead ADS Support, Extended Systems GmbH, Germany
advantage[AT]extendsys.de
- posted with Xananews 1.15.8.2 -
!!! ADS 7 now available !!!


Bob Rasmusens Posted on 2003-12-15 15:54:51.0Z
Message-ID: <3FDDD94B.D3A55A57@weir-jones.com>
Date: Mon, 15 Dec 2003 07:54:51 -0800
From: Bob Rasmusens <wjgroup@weir-jones.com>
Reply-To: Bob Rasmusens <wjgroup@weir-jones.com>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: Advantage.Networking
Subject: Re: How to detect physical loss of network.
References: <3FDA39FD.7FACF005@weir-jones.com> <3fdd9107@solutions.advantagedatabase.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 216.232.24.29
X-Trace: 15 Dec 2003 08:59:02 -0700, 216.232.24.29
Lines: 12
Path: solutions.advantagedatabase.com!solutions.advantagedatabase.com!216.232.24.29
Xref: solutions.advantagedatabase.com Advantage.Networking:449
Article PK: 1131873


>
> No. I wrote a workaround when we first got in touch with Clustering.
> First you have to set ADS.INI file not to cache the connection results:
> [SETTINGS]
> retry_ads_connects=1
>
> and then reconnect and reopen all your tables.

Thanks for the Info