Allocate Method

Allocates a relayed IP address and port on the server.

Syntax

public void 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 class and its peers.

After a successful call to this method, the class 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) 2022 /n software inc. - All rights reserved.
IPWorks P2P 2020 Java Edition - Version 20.0 [Build 8235]