NETLink::IsDead()

Description

IsDead() is used to establish if the NETLink is dead.

Call Signature

int IsDead ( )

Return Value

int

1 is returned if the link is dead and a 0 if the link is alive.

Remarks

A NETLink will become dead if the process at the other end destroys the link, or terminates or if the networking connection to that system is lost for any other reason (such as physical disconnection of the network).

Example


 if( poLink.IsDead() = 1 )then
   call poLink.Destroy()
   return
 endif

See also

NETLink class

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.