CommStarted
CommStarted is a Boolean flag that indicates whether the connection associated with this lsxECLPS object is connected to the host data stream. CommStarted is an integer and is read-only. CommStarted is 1 if there is communication with the host; otherwise, it is 0. The following example shows this property.
' Create an lsxECLPS object associated with connection A
dim myPSObj as new lsxECLPS("A")
' See if we are communicating with the host
if myPSObj.CommStarted then
call communications_started