Exemplo 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));
 }
Exemplo 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));
 }
Exemplo n.º 3
0
 // bool
 public bool IsDataAvailableOnSocket(SNetSocket_t hSocket /*SNetSocket_t*/, out uint pcubMsgSize /*uint32 **/)
 {
     return(platform.ISteamNetworking_IsDataAvailableOnSocket(hSocket.Value, out pcubMsgSize));
 }
Exemplo 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));
 }
Exemplo 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));
 }
Exemplo 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));
 }
Exemplo n.º 7
0
 // SNetSocketConnectionType
 public SNetSocketConnectionType GetSocketConnectionType(SNetSocket_t hSocket /*SNetSocket_t*/)
 {
     return(platform.ISteamNetworking_GetSocketConnectionType(hSocket.Value));
 }
Exemplo n.º 8
0
 // int
 public int GetMaxPacketSize(SNetSocket_t hSocket /*SNetSocket_t*/)
 {
     return(platform.ISteamNetworking_GetMaxPacketSize(hSocket.Value));
 }
Exemplo n.º 9
0
 // bool
 public bool DestroySocket(SNetSocket_t hSocket /*SNetSocket_t*/, bool bNotifyRemoteEnd /*bool*/)
 {
     return(platform.ISteamNetworking_DestroySocket(hSocket.Value, bNotifyRemoteEnd));
 }