Active Property

Enables or disables sending and receiving of data.

Object Oriented Interface

public function getActive();
public function setActive($value);

Procedural Interface

ipworks_icmpport_get($res, 2 );
ipworks_icmpport_set($res, 2, $value );

Default Value

false

Remarks

Setting this property to True makes the class create a communication endpoint (socket) which can be used for sending and receiving ICMP messages. Setting it to False destroys the socket and disables data communications.

If the UseConnection config setting is set to True, then a local association (connection) to the remote host is also created.

This property is not available at design time.

Data Type

Boolean

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 PHP Edition - Version 20.0 [Build 8307]