Shadowrun: Awakened 29 September 2011 - Build 871
Public Types | Public Attributes
RakNet::NatPunchthroughClient::SendPing Struct Reference

#include <NatPunchthroughClient.h>

List of all members.

Public Types

enum  TestMode {
  TESTING_INTERNAL_IPS, WAITING_FOR_INTERNAL_IPS_RESPONSE, SEND_WITH_TTL, TESTING_EXTERNAL_IPS_FACILITATOR_PORT_TO_FACILITATOR_PORT,
  TESTING_EXTERNAL_IPS_1024_TO_FACILITATOR_PORT, TESTING_EXTERNAL_IPS_FACILITATOR_PORT_TO_1024, TESTING_EXTERNAL_IPS_1024_TO_1024, WAITING_AFTER_ALL_ATTEMPTS,
  PUNCHING_FIXED_PORT
}

Public Attributes

int attemptCount
SystemAddress facilitator
SystemAddress internalIds [10]
RakNet::Time nextActionTime
int punchingFixedPortAttempts
int retryCount
uint16_t sessionId
SystemAddress targetAddress
RakNetGUID targetGuid
enum
RakNet::NatPunchthroughClient::SendPing::TestMode 
testMode
bool weAreSender

Detailed Description

Definition at line 195 of file NatPunchthroughClient.h.


Member Enumeration Documentation

Enumerator:
TESTING_INTERNAL_IPS 
WAITING_FOR_INTERNAL_IPS_RESPONSE 
SEND_WITH_TTL 
TESTING_EXTERNAL_IPS_FACILITATOR_PORT_TO_FACILITATOR_PORT 
TESTING_EXTERNAL_IPS_1024_TO_FACILITATOR_PORT 
TESTING_EXTERNAL_IPS_FACILITATOR_PORT_TO_1024 
TESTING_EXTERNAL_IPS_1024_TO_1024 
WAITING_AFTER_ALL_ATTEMPTS 
PUNCHING_FIXED_PORT 

Definition at line 208 of file NatPunchthroughClient.h.

        {
            TESTING_INTERNAL_IPS,
            WAITING_FOR_INTERNAL_IPS_RESPONSE,
            SEND_WITH_TTL,
            TESTING_EXTERNAL_IPS_FACILITATOR_PORT_TO_FACILITATOR_PORT,
            TESTING_EXTERNAL_IPS_1024_TO_FACILITATOR_PORT,
            TESTING_EXTERNAL_IPS_FACILITATOR_PORT_TO_1024,
            TESTING_EXTERNAL_IPS_1024_TO_1024,
            WAITING_AFTER_ALL_ATTEMPTS,

            // The trendnet remaps the remote port to 1024.
            // If you continue punching on a different port for the same IP it bans you and the communication becomes unidirectioal
            PUNCHING_FIXED_PORT,

            // try port 1024-1028
        } testMode;

Member Data Documentation

Definition at line 203 of file NatPunchthroughClient.h.

Definition at line 199 of file NatPunchthroughClient.h.

Definition at line 200 of file NatPunchthroughClient.h.

Definition at line 197 of file NatPunchthroughClient.h.

Definition at line 205 of file NatPunchthroughClient.h.

Definition at line 204 of file NatPunchthroughClient.h.

Definition at line 206 of file NatPunchthroughClient.h.

Definition at line 198 of file NatPunchthroughClient.h.

Definition at line 201 of file NatPunchthroughClient.h.

Definition at line 202 of file NatPunchthroughClient.h.


The documentation for this struct was generated from the following file:

Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net