Esempio n. 1
0
 // bool
 public bool RetrieveDataFromSocket(SNetSocket_t hSocket /*SNetSocket_t*/, IntPtr pubDest /*void **/, uint cubDest /*uint32*/, out uint pcubMsgSize /*uint32 **/)
 {
     return(platform.ISteamNetworking_RetrieveDataFromSocket(hSocket.Value, (IntPtr)pubDest, cubDest, out pcubMsgSize));
 }
Esempio n. 2
0
 // bool
 public bool SendDataOnSocket(SNetSocket_t hSocket /*SNetSocket_t*/, IntPtr pubData /*void **/, uint cubData /*uint32*/, bool bReliable /*bool*/)
 {
     return(platform.ISteamNetworking_SendDataOnSocket(hSocket.Value, (IntPtr)pubData, cubData, bReliable));
 }
Esempio n. 3
0
 // bool
 public bool IsDataAvailableOnSocket(SNetSocket_t hSocket /*SNetSocket_t*/, out uint pcubMsgSize /*uint32 **/)
 {
     return(platform.ISteamNetworking_IsDataAvailableOnSocket(hSocket.Value, out pcubMsgSize));
 }
Esempio n. 4
0
 // bool
 public bool RetrieveData(SNetListenSocket_t hListenSocket /*SNetListenSocket_t*/, IntPtr pubDest /*void **/, uint cubDest /*uint32*/, out uint pcubMsgSize /*uint32 **/, ref SNetSocket_t phSocket /*SNetSocket_t **/)
 {
     return(platform.ISteamNetworking_RetrieveData(hListenSocket.Value, (IntPtr)pubDest, cubDest, out pcubMsgSize, ref phSocket.Value));
 }
Esempio n. 5
0
 // bool
 public bool IsDataAvailable(SNetListenSocket_t hListenSocket /*SNetListenSocket_t*/, out uint pcubMsgSize /*uint32 **/, ref SNetSocket_t phSocket /*SNetSocket_t **/)
 {
     return(platform.ISteamNetworking_IsDataAvailable(hListenSocket.Value, out pcubMsgSize, ref phSocket.Value));
 }
Esempio n. 6
0
 // bool
 public bool GetSocketInfo(SNetSocket_t hSocket /*SNetSocket_t*/, out CSteamID pSteamIDRemote /*class CSteamID **/, IntPtr peSocketStatus /*int **/, out uint punIPRemote /*uint32 **/, out ushort punPortRemote /*uint16 **/)
 {
     return(platform.ISteamNetworking_GetSocketInfo(hSocket.Value, out pSteamIDRemote.Value, (IntPtr)peSocketStatus, out punIPRemote, out punPortRemote));
 }
Esempio n. 7
0
 // SNetSocketConnectionType
 public SNetSocketConnectionType GetSocketConnectionType(SNetSocket_t hSocket /*SNetSocket_t*/)
 {
     return(platform.ISteamNetworking_GetSocketConnectionType(hSocket.Value));
 }
Esempio n. 8
0
 // int
 public int GetMaxPacketSize(SNetSocket_t hSocket /*SNetSocket_t*/)
 {
     return(platform.ISteamNetworking_GetMaxPacketSize(hSocket.Value));
 }
Esempio n. 9
0
 // bool
 public bool DestroySocket(SNetSocket_t hSocket /*SNetSocket_t*/, bool bNotifyRemoteEnd /*bool*/)
 {
     return(platform.ISteamNetworking_DestroySocket(hSocket.Value, bNotifyRemoteEnd));
 }