![]() |
Rise
The Vieneo Province
|
Describe the state of a connection. More...
#include <steamnetworkingtypes.h>
Public Attributes | |
| SteamNetworkingIdentity | m_identityRemote |
| Who is on the other end? Depending on the connection type and phase of the connection, we might not know. | |
| int64 | m_nUserData |
| Arbitrary user data set by the local application code. | |
| HSteamListenSocket | m_hListenSocket |
| Handle to listen socket this was connected on, or k_HSteamListenSocket_Invalid if we initiated the connection. | |
| SteamNetworkingIPAddr | m_addrRemote |
| uint16 | m__pad1 |
| SteamNetworkingPOPID | m_idPOPRemote |
| What data center is the remote host in? (0 if we don't know.). | |
| SteamNetworkingPOPID | m_idPOPRelay |
| ESteamNetworkingConnectionState | m_eState |
| High level state of the connection. | |
| int | m_eEndReason |
| char | m_szEndDebug [k_cchSteamNetworkingMaxConnectionCloseReason] |
| char | m_szConnectionDescription [k_cchSteamNetworkingMaxConnectionDescription] |
| int | m_nFlags |
| Misc flags. Bitmask of k_nSteamNetworkConnectionInfoFlags_Xxxx. | |
| uint32 | reserved [63] |
| Internal stuff, room to change API easily. | |
Describe the state of a connection.
Definition at line 673 of file steamnetworkingtypes.h.
| uint16 SteamNetConnectionInfo_t::m__pad1 |
Definition at line 688 of file steamnetworkingtypes.h.
| SteamNetworkingIPAddr SteamNetConnectionInfo_t::m_addrRemote |
Remote address. Might be all 0's if we don't know it, or if this is N/A. (E.g. Basically everything except direct UDP connection.)
Definition at line 687 of file steamnetworkingtypes.h.
| int SteamNetConnectionInfo_t::m_eEndReason |
Basic cause of the connection termination or problem. See ESteamNetConnectionEnd for the values used
Definition at line 702 of file steamnetworkingtypes.h.
| ESteamNetworkingConnectionState SteamNetConnectionInfo_t::m_eState |
High level state of the connection.
Definition at line 698 of file steamnetworkingtypes.h.
| HSteamListenSocket SteamNetConnectionInfo_t::m_hListenSocket |
Handle to listen socket this was connected on, or k_HSteamListenSocket_Invalid if we initiated the connection.
Definition at line 683 of file steamnetworkingtypes.h.
| SteamNetworkingIdentity SteamNetConnectionInfo_t::m_identityRemote |
Who is on the other end? Depending on the connection type and phase of the connection, we might not know.
Definition at line 677 of file steamnetworkingtypes.h.
| SteamNetworkingPOPID SteamNetConnectionInfo_t::m_idPOPRelay |
What relay are we using to communicate with the remote host? (0 if not applicable.)
Definition at line 695 of file steamnetworkingtypes.h.
| SteamNetworkingPOPID SteamNetConnectionInfo_t::m_idPOPRemote |
What data center is the remote host in? (0 if we don't know.).
Definition at line 691 of file steamnetworkingtypes.h.
| int SteamNetConnectionInfo_t::m_nFlags |
Misc flags. Bitmask of k_nSteamNetworkConnectionInfoFlags_Xxxx.
Definition at line 720 of file steamnetworkingtypes.h.
| int64 SteamNetConnectionInfo_t::m_nUserData |
Arbitrary user data set by the local application code.
Definition at line 680 of file steamnetworkingtypes.h.
| char SteamNetConnectionInfo_t::m_szConnectionDescription[k_cchSteamNetworkingMaxConnectionDescription] |
Debug description. This includes the internal connection ID, connection type (and peer information), and any name given to the connection by the app. This string is used in various internal logging messages.
Note that the connection ID usually matches the HSteamNetConnection handle, but in certain cases with symmetric connections it might not.
Definition at line 717 of file steamnetworkingtypes.h.
| char SteamNetConnectionInfo_t::m_szEndDebug[k_cchSteamNetworkingMaxConnectionCloseReason] |
Human-readable, but non-localized explanation for connection termination or problem. This is intended for debugging / diagnostic purposes only, not to display to users. It might have some details specific to the issue.
Definition at line 708 of file steamnetworkingtypes.h.
| uint32 SteamNetConnectionInfo_t::reserved[63] |
Internal stuff, room to change API easily.
Definition at line 723 of file steamnetworkingtypes.h.