| GameLiftManagerLobbyManagerFindAvailableUDPPort Method |
Finds an available UDP port on the user's end to receive UDP messages on. It should be noted that this function cannot be called on Android, and
therefore, only 1 port is available on Android, the default UDP port of 33400. If this port is not available, then that Android device will not be able
to receive UDP messages, which ASL does not currently send anyways.
Namespace:
ASL
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax private int FindAvailableUDPPort(
int firstPort,
int lastPort
)
Private Function FindAvailableUDPPort (
firstPort As Integer,
lastPort As Integer
) As Integer
private:
int FindAvailableUDPPort(
int firstPort,
int lastPort
)
private member FindAvailableUDPPort :
firstPort : int *
lastPort : int -> int
Parameters
- firstPort
- Type: SystemInt32
The first port to try to use - lastPort
- Type: SystemInt32
The last port to try to use
Return Value
Type:
Int32An available port to use for UDP traffic
See Also