RelayedIP Property

The IP address allocated on the server for the class.

Syntax

public String getRelayedIP();

Default Value

""

Remarks

After a successful call to the Allocate method, this property will reflect the IP address allocated on the server for the class. The port associated with the allocation is reflected by the RelayedPort property.

When the class sends data to its peers via the server, the packets will appear to originate from the relayed IP address and port. Similarly, peers may send data back to the class via the server by directing their packets to the relayed IP address and port. (However, note that the server will only relay packets to/from a peer if there is an active permission for the peer's IP address; refer to the CreatePermission method for more information.)

This property is read-only and not available at design time.

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