![]() |
Rise
The Vieneo Province
|
#include <isteamnetworkingmessages.h>
Public Types | |
| enum | { k_iCallback = k_iSteamNetworkingMessagesCallbacks + 2 } |
Public Attributes | |
| SteamNetConnectionInfo_t | m_info |
Posted when we fail to establish a connection, or we detect that communications have been disrupted it an unusual way. There is no notification when a peer proactively closes the session. ("Closed by peer" is not a concept of UDP-style communications, and SteamNetworkingMessages is primarily intended to make porting UDP code easy.)
Remember: callbacks are asynchronous. See notes on SendMessageToUser, and k_nSteamNetworkingSend_AutoRestartBrokenSession in particular.
Also, if a session times out due to inactivity, no callbacks will be posted. The only way to detect that this is happening is that querying the session state may return none, connecting, and findingroute again.
Definition at line 153 of file isteamnetworkingmessages.h.
| anonymous enum |
| Enumerator | |
|---|---|
| k_iCallback | |
Definition at line 155 of file isteamnetworkingmessages.h.
| SteamNetConnectionInfo_t SteamNetworkingMessagesSessionFailed_t::m_info |
Detailed info about the session that failed. SteamNetConnectionInfo_t::m_identityRemote indicates who this session was with.
Definition at line 160 of file isteamnetworkingmessages.h.