Listening Property

If True, the class accepts incoming connections on LocalPort.

Object Oriented Interface

public function getListening();
public function setListening($value);

Procedural Interface

ipworkssftp_sftpserver_get($res, 17 );
ipworkssftp_sftpserver_set($res, 17, $value );

Default Value



Use this property to make the class 'listen' (accept connections) on the port specified by the LocalPort property. Setting this property to False will make the class stop listening (please note that this does not close any existing connections).

This property is not available at design time.

Data Type


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