Méthode | Description | |
---|---|---|
AcceptP2PSessionWithUser ( ulong steamIDRemote ) : bool | ||
AllowP2PPacketRelay ( bool bAllow ) : bool | ||
CSteamNetworking ( |
||
CloseP2PChannelWithUser ( ulong steamIDRemote, int nChannel ) : bool | ||
CloseP2PSessionWithUser ( ulong steamIDRemote ) : bool | ||
CreateConnectionSocket ( uint nIP, char nPort, int nTimeoutSec ) : uint | ||
CreateListenSocket ( int nVirtualP2PPort, uint nIP, char nPort, bool bAllowUseOfPacketRelay ) : uint | ||
CreateP2PConnectionSocket ( ulong steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay ) : uint | ||
DestroyListenSocket ( uint hSocket, bool bNotifyRemoteEnd ) : bool | ||
DestroySocket ( uint hSocket, bool bNotifyRemoteEnd ) : bool | ||
GetIntPtr ( ) : |
||
GetListenSocketInfo ( uint hListenSocket, uint &pnIP, char &pnPort ) : bool | ||
GetMaxPacketSize ( uint hSocket ) : int | ||
GetP2PSessionState ( ulong steamIDRemote, |
||
GetSocketConnectionType ( uint hSocket ) : uint | ||
GetSocketInfo ( uint hSocket, |
||
IsDataAvailable ( uint hListenSocket, uint &pcubMsgSize, uint &phSocket ) : bool | ||
IsDataAvailableOnSocket ( uint hSocket, uint &pcubMsgSize ) : bool | ||
IsP2PPacketAvailable ( uint &pcubMsgSize, int nChannel ) : bool | ||
ReadP2PPacket ( |
||
RetrieveData ( uint hListenSocket, |
||
RetrieveDataFromSocket ( uint hSocket, |
||
SendDataOnSocket ( uint hSocket, |
||
SendP2PPacket ( ulong steamIDRemote, |
Méthode | Description | |
---|---|---|
CheckIfUsable ( ) : void |
public AcceptP2PSessionWithUser ( ulong steamIDRemote ) : bool | ||
steamIDRemote | ulong | |
Résultat | bool |
public AllowP2PPacketRelay ( bool bAllow ) : bool | ||
bAllow | bool | |
Résultat | bool |
public CSteamNetworking ( |
||
SteamNetworking |
public CloseP2PChannelWithUser ( ulong steamIDRemote, int nChannel ) : bool | ||
steamIDRemote | ulong | |
nChannel | int | |
Résultat | bool |
public CloseP2PSessionWithUser ( ulong steamIDRemote ) : bool | ||
steamIDRemote | ulong | |
Résultat | bool |
public CreateConnectionSocket ( uint nIP, char nPort, int nTimeoutSec ) : uint | ||
nIP | uint | |
nPort | char | |
nTimeoutSec | int | |
Résultat | uint |
public CreateListenSocket ( int nVirtualP2PPort, uint nIP, char nPort, bool bAllowUseOfPacketRelay ) : uint | ||
nVirtualP2PPort | int | |
nIP | uint | |
nPort | char | |
bAllowUseOfPacketRelay | bool | |
Résultat | uint |
public CreateP2PConnectionSocket ( ulong steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay ) : uint | ||
steamIDTarget | ulong | |
nVirtualPort | int | |
nTimeoutSec | int | |
bAllowUseOfPacketRelay | bool | |
Résultat | uint |
public DestroyListenSocket ( uint hSocket, bool bNotifyRemoteEnd ) : bool | ||
hSocket | uint | |
bNotifyRemoteEnd | bool | |
Résultat | bool |
public DestroySocket ( uint hSocket, bool bNotifyRemoteEnd ) : bool | ||
hSocket | uint | |
bNotifyRemoteEnd | bool | |
Résultat | bool |
public GetListenSocketInfo ( uint hListenSocket, uint &pnIP, char &pnPort ) : bool | ||
hListenSocket | uint | |
pnIP | uint | |
pnPort | char | |
Résultat | bool |
public GetMaxPacketSize ( uint hSocket ) : int | ||
hSocket | uint | |
Résultat | int |
public GetP2PSessionState ( ulong steamIDRemote, |
||
steamIDRemote | ulong | |
pConnectionState | ||
Résultat | bool |
public GetSocketConnectionType ( uint hSocket ) : uint | ||
hSocket | uint | |
Résultat | uint |
public GetSocketInfo ( uint hSocket, |
||
hSocket | uint | |
pSteamIDRemote | ||
peSocketStatus | int | |
punIPRemote | uint | |
punPortRemote | char | |
Résultat | bool |
public IsDataAvailable ( uint hListenSocket, uint &pcubMsgSize, uint &phSocket ) : bool | ||
hListenSocket | uint | |
pcubMsgSize | uint | |
phSocket | uint | |
Résultat | bool |
public IsDataAvailableOnSocket ( uint hSocket, uint &pcubMsgSize ) : bool | ||
hSocket | uint | |
pcubMsgSize | uint | |
Résultat | bool |
public IsP2PPacketAvailable ( uint &pcubMsgSize, int nChannel ) : bool | ||
pcubMsgSize | uint | |
nChannel | int | |
Résultat | bool |
public ReadP2PPacket ( |
||
pubDest | ||
cubDest | uint | |
pcubMsgSize | uint | |
psteamIDRemote | ||
nChannel | int | |
Résultat | bool |
public RetrieveData ( uint hListenSocket, |
||
hListenSocket | uint | |
pubDest | ||
cubDest | uint | |
pcubMsgSize | uint | |
phSocket | uint | |
Résultat | bool |
public RetrieveDataFromSocket ( uint hSocket, |
||
hSocket | uint | |
pubDest | ||
cubDest | uint | |
pcubMsgSize | uint | |
Résultat | bool |
public SendDataOnSocket ( uint hSocket, |
||
hSocket | uint | |
pubData | ||
cubData | uint | |
bReliable | bool | |
Résultat | bool |
public SendP2PPacket ( ulong steamIDRemote, |
||
steamIDRemote | ulong | |
pubData | ||
cubData | uint | |
eP2PSendType | uint | |
nChannel | int | |
Résultat | bool |