IPWorks P2P 2020 Kotlin Edition

Questions / Feedback?

Allocate Method

Allocates a relayed IP address and port on the server.

Syntax

public fun allocate()

Remarks

This method requests that the server allocate an IP address and port (i.e., an allocation) to be used for relaying data between the component and its peers.

After a successful call to this method, the component will be able to communicate with peers of its choosing via the server for the duration of the allocation's Lifetime. The allocation will expire at the end of its lifetime unless it is refreshed (or forced to expire sooner) using the RefreshAllocation method.

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