forked from gibbed/SteamAchievementManager
-
-
Notifications
You must be signed in to change notification settings - Fork 4
ISteamNetworkingSockets
syntax-tm edited this page Jul 13, 2024
·
1 revision
A versioned accessor is exported by the library.
S_API ISteamNetworkingSockets *SteamAPI_SteamNetworkingSockets_SteamAPI_v012();
Inline, unversioned accessor to get the current version. Essentially the same as SteamNetworkingSockets_SteamAPI()
, but using this ensures that you are using a matching library.
inline ISteamNetworkingSockets *SteamAPI_SteamNetworkingSockets_SteamAPI() { return SteamAPI_SteamNetworkingSockets_SteamAPI_v012(); }
A versioned accessor is exported by the library.
S_API ISteamNetworkingSockets *SteamAPI_SteamGameServerNetworkingSockets_SteamAPI_v012();
Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServerNetworkingSockets_SteamAPI()
, but using this ensures that you are using a matching library.
inline ISteamNetworkingSockets *SteamAPI_SteamGameServerNetworkingSockets_SteamAPI() { return SteamAPI_SteamGameServerNetworkingSockets_SteamAPI_v012(); }
Return Type | Interface | Method | Arguments |
---|---|---|---|
HSteamListenSocket |
ISteamNetworkingSockets |
CreateListenSocketIP |
ISteamNetworkingSockets* self, const SteamNetworkingIPAddr & localAddress, int nOptions, const SteamNetworkingConfigValue_t * pOptions |
HSteamNetConnection |
ISteamNetworkingSockets |
ConnectByIPAddress |
ISteamNetworkingSockets* self, const SteamNetworkingIPAddr & address, int nOptions, const SteamNetworkingConfigValue_t * pOptions |
HSteamListenSocket |
ISteamNetworkingSockets |
CreateListenSocketP2P |
ISteamNetworkingSockets* self, int nLocalVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions |
HSteamNetConnection |
ISteamNetworkingSockets |
ConnectP2P |
ISteamNetworkingSockets* self, const SteamNetworkingIdentity & identityRemote, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions |
EResult |
ISteamNetworkingSockets |
AcceptConnection |
ISteamNetworkingSockets* self, HSteamNetConnection hConn |
bool |
ISteamNetworkingSockets |
CloseConnection |
ISteamNetworkingSockets* self, HSteamNetConnection hPeer, int nReason, const char * pszDebug, bool bEnableLinger |
bool |
ISteamNetworkingSockets |
CloseListenSocket |
ISteamNetworkingSockets* self, HSteamListenSocket hSocket |
bool |
ISteamNetworkingSockets |
SetConnectionUserData |
ISteamNetworkingSockets* self, HSteamNetConnection hPeer, int64 nUserData |
int64 |
ISteamNetworkingSockets |
GetConnectionUserData |
ISteamNetworkingSockets* self, HSteamNetConnection hPeer |
void |
ISteamNetworkingSockets |
SetConnectionName |
ISteamNetworkingSockets* self, HSteamNetConnection hPeer, const char * pszName |
bool |
ISteamNetworkingSockets |
GetConnectionName |
ISteamNetworkingSockets* self, HSteamNetConnection hPeer, char * pszName, int nMaxLen |
EResult |
ISteamNetworkingSockets |
SendMessageToConnection |
ISteamNetworkingSockets* self, HSteamNetConnection hConn, const void * pData, uint32 cbData, int nSendFlags, int64 * pOutMessageNumber |
void |
ISteamNetworkingSockets |
SendMessages |
ISteamNetworkingSockets* self, int nMessages, SteamNetworkingMessage_t *const * pMessages, int64 * pOutMessageNumberOrResult |
EResult |
ISteamNetworkingSockets |
FlushMessagesOnConnection |
ISteamNetworkingSockets* self, HSteamNetConnection hConn |
int |
ISteamNetworkingSockets |
ReceiveMessagesOnConnection |
ISteamNetworkingSockets* self, HSteamNetConnection hConn, SteamNetworkingMessage_t ** ppOutMessages, int nMaxMessages |
bool |
ISteamNetworkingSockets |
GetConnectionInfo |
ISteamNetworkingSockets* self, HSteamNetConnection hConn, SteamNetConnectionInfo_t * pInfo |
EResult |
ISteamNetworkingSockets |
GetConnectionRealTimeStatus |
ISteamNetworkingSockets* self, HSteamNetConnection hConn, SteamNetConnectionRealTimeStatus_t * pStatus, int nLanes, SteamNetConnectionRealTimeLaneStatus_t * pLanes |
int |
ISteamNetworkingSockets |
GetDetailedConnectionStatus |
ISteamNetworkingSockets* self, HSteamNetConnection hConn, char * pszBuf, int cbBuf |
bool |
ISteamNetworkingSockets |
GetListenSocketAddress |
ISteamNetworkingSockets* self, HSteamListenSocket hSocket, SteamNetworkingIPAddr * address |
bool |
ISteamNetworkingSockets |
CreateSocketPair |
ISteamNetworkingSockets* self, HSteamNetConnection * pOutConnection1, HSteamNetConnection * pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity * pIdentity1, const SteamNetworkingIdentity * pIdentity2 |
EResult |
ISteamNetworkingSockets |
ConfigureConnectionLanes |
ISteamNetworkingSockets* self, HSteamNetConnection hConn, int nNumLanes, const int * pLanePriorities, const uint16 * pLaneWeights |
bool |
ISteamNetworkingSockets |
GetIdentity |
ISteamNetworkingSockets* self, SteamNetworkingIdentity * pIdentity |
ESteamNetworkingAvailability |
ISteamNetworkingSockets |
InitAuthentication |
ISteamNetworkingSockets* self |
ESteamNetworkingAvailability |
ISteamNetworkingSockets |
GetAuthenticationStatus |
ISteamNetworkingSockets* self, SteamNetAuthenticationStatus_t * pDetails |
HSteamNetPollGroup |
ISteamNetworkingSockets |
CreatePollGroup |
ISteamNetworkingSockets* self |
bool |
ISteamNetworkingSockets |
DestroyPollGroup |
ISteamNetworkingSockets* self, HSteamNetPollGroup hPollGroup |
bool |
ISteamNetworkingSockets |
SetConnectionPollGroup |
ISteamNetworkingSockets* self, HSteamNetConnection hConn, HSteamNetPollGroup hPollGroup |
int |
ISteamNetworkingSockets |
ReceiveMessagesOnPollGroup |
ISteamNetworkingSockets* self, HSteamNetPollGroup hPollGroup, SteamNetworkingMessage_t ** ppOutMessages, int nMaxMessages |
bool |
ISteamNetworkingSockets |
ReceivedRelayAuthTicket |
ISteamNetworkingSockets* self, const void * pvTicket, int cbTicket, SteamDatagramRelayAuthTicket * pOutParsedTicket |
int |
ISteamNetworkingSockets |
FindRelayAuthTicketForServer |
ISteamNetworkingSockets* self, const SteamNetworkingIdentity & identityGameServer, int nRemoteVirtualPort, SteamDatagramRelayAuthTicket * pOutParsedTicket |
HSteamNetConnection |
ISteamNetworkingSockets |
ConnectToHostedDedicatedServer |
ISteamNetworkingSockets* self, const SteamNetworkingIdentity & identityTarget, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions |
uint16 |
ISteamNetworkingSockets |
GetHostedDedicatedServerPort |
ISteamNetworkingSockets* self |
SteamNetworkingPOPID |
ISteamNetworkingSockets |
GetHostedDedicatedServerPOPID |
ISteamNetworkingSockets* self |
EResult |
ISteamNetworkingSockets |
GetHostedDedicatedServerAddress |
ISteamNetworkingSockets* self, SteamDatagramHostedAddress * pRouting |
HSteamListenSocket |
ISteamNetworkingSockets |
CreateHostedDedicatedServerListenSocket |
ISteamNetworkingSockets* self, int nLocalVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions |
EResult |
ISteamNetworkingSockets |
GetGameCoordinatorServerLogin |
ISteamNetworkingSockets* self, SteamDatagramGameCoordinatorServerLogin * pLoginInfo, int * pcbSignedBlob, void * pBlob |
HSteamNetConnection |
ISteamNetworkingSockets |
ConnectP2PCustomSignaling |
ISteamNetworkingSockets* self, ISteamNetworkingConnectionSignaling * pSignaling, const SteamNetworkingIdentity * pPeerIdentity, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions |
bool |
ISteamNetworkingSockets |
ReceivedP2PCustomSignal |
ISteamNetworkingSockets* self, const void * pMsg, int cbMsg, ISteamNetworkingSignalingRecvContext * pContext |
bool |
ISteamNetworkingSockets |
GetCertificateRequest |
ISteamNetworkingSockets* self, int * pcbBlob, void * pBlob, SteamNetworkingErrMsg & errMsg |
bool |
ISteamNetworkingSockets |
SetCertificate |
ISteamNetworkingSockets* self, const void * pCertificate, int cbCertificate, SteamNetworkingErrMsg & errMsg |
void |
ISteamNetworkingSockets |
ResetIdentity |
ISteamNetworkingSockets* self, const SteamNetworkingIdentity * pIdentity |
void |
ISteamNetworkingSockets |
RunCallbacks |
ISteamNetworkingSockets* self |
bool |
ISteamNetworkingSockets |
BeginAsyncRequestFakeIP |
ISteamNetworkingSockets* self, int nNumPorts |
void |
ISteamNetworkingSockets |
GetFakeIP |
ISteamNetworkingSockets* self, int idxFirstPort, SteamNetworkingFakeIPResult_t * pInfo |
HSteamListenSocket |
ISteamNetworkingSockets |
CreateListenSocketP2PFakeIP |
ISteamNetworkingSockets* self, int idxFakePort, int nOptions, const SteamNetworkingConfigValue_t * pOptions |
EResult |
ISteamNetworkingSockets |
GetRemoteFakeIPForConnection |
ISteamNetworkingSockets* self, HSteamNetConnection hConn, SteamNetworkingIPAddr * pOutAddr |
ISteamNetworkingFakeUDPPort * |
ISteamNetworkingSockets |
CreateFakeUDPPort |
ISteamNetworkingSockets* self, int idxFakeServerPort |
Note
This Wiki is work-in-progress. If you notice any errors or would like to add any missing information, changes are welcome.
About
Dev
Steamworks
Help
Links