FRDU:GetNatProperties

From 3dbrew
Jump to navigation Jump to search

Request

Index Word Description
0
Header 0x002D0000 Cmd 0x002D Param 0 Xlat 0

Response

Index Word Description
0
Header 0x002D00C0 Cmd 0x002D Param 3 Xlat 0
1 Result code
2 NAT Mapping Type
3 NAT Filtering Type

NAT Mapping Type

Value Description
0 Unknown mapping type(?)
1 Endpoint-Independent Mapping
2 Endpoint-Dependent Mapping

NAT Filtering Type

Value Description
0 Unknown filtering type(?)
1 Port-Independent Filtering
2 Port-Dependent Filtering

Description

Retrieves NAT properties of the current internet connection, whether obtained through an internal detection routine run when the friends module automatically logs in to friend services, or when the client calls FRDU:DetectNatProperties manually.