Listening Property

If True, the class accepts incoming connections on LocalPort.

Syntax

public boolean isListening();
public void setListening(boolean listening);

Default Value

False

Remarks

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.

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