#include <P2PTunnelServer.h>
Data Fields | |
| int32_t | nSID |
| P2PTunnel session index. | |
| uint8_t | nMode |
| 0: P2P mode, 1: Relay mode, 2: LAN mode | |
| uint8_t | nNatType |
| The remote NAT type. | |
| char | szRemoteIP [16] |
| The IP address of remote site used during this P2PTunnel session. | |
| uint16_t | nRemotePort |
| The port number of remote site used during this P2PTunnel session. | |
| uint32_t | nVersion |
| The remote P2PTunnel API version. | |
P2PTunnel session info, containing all the information when a P2PTunnel session is established between a tunnel server and a tunnel agent. Users can get this information through use P2PTunnelServer_Start_Ex() to register a call back function tunnelSessionInfoExCB
| uint8_t nMode |
0: P2P mode, 1: Relay mode, 2: LAN mode
| uint8_t nNatType |
The remote NAT type.
| uint16_t nRemotePort |
The port number of remote site used during this P2PTunnel session.
| int32_t nSID |
P2PTunnel session index.
| uint32_t nVersion |
The remote P2PTunnel API version.
| char szRemoteIP[16] |
The IP address of remote site used during this P2PTunnel session.