IPWorks P2P 2020 Kotlin Edition

Questions / Feedback?

LocalPort Property

The UDP port in the local host where the component binds.

Syntax

public var localPort: Int

Default Value

0

Remarks

This property specifies which UDP port in the local host the component should bind to when Active is set to True.

If this property is 0 (default), the system will choose a port at random. The chosen port will be reflected by this property after setting Active to True.

This property cannot be changed while Active is True; attempting to do so will generate an error.

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