Exemple #1
0
 public static int SDLNet_AddSocket(SdlNet.SDLNet_SocketSet set, SdlNet.SDLNet_GenericSocket sock);
Exemple #2
0
 public static int SDLNet_CheckSockets(SdlNet.SDLNet_SocketSet set, int timeout);
Exemple #3
0
 public static int SDLNet_UDP_Bind(IntPtr sock, int channel, ref SdlNet.IPaddress address);
Exemple #4
0
 public static void SDLNet_UDP_DelSocket(SdlNet.SDLNet_SocketSet set, IntPtr sock)
 {
     SdlNet.SDLNet_GenericSocket sock1 = (SdlNet.SDLNet_GenericSocket) Marshal.PtrToStructure(sock, typeof (SdlNet.SDLNet_GenericSocket));
       SdlNet.SDLNet_DelSocket(set, sock1);
 }
Exemple #5
0
 public static int SDLNet_TCP_Send(SdlNet.TCPsocket sock, IntPtr data, int len);
Exemple #6
0
 public static int SDLNet_UDP_AddSocket(SdlNet.SDLNet_SocketSet set, IntPtr sock)
 {
     SdlNet.SDLNet_GenericSocket sock1 = (SdlNet.SDLNet_GenericSocket) Marshal.PtrToStructure(sock, typeof (SdlNet.SDLNet_GenericSocket));
       return SdlNet.SDLNet_AddSocket(set, sock1);
 }
Exemple #7
0
 public static IntPtr SDLNet_TCP_Open(ref SdlNet.IPaddress ip);
Exemple #8
0
 public static void SDLNet_UDP_DelSocket(SdlNet.SDLNet_SocketSet set, IntPtr sock)
 {
     SdlNet.SDLNet_GenericSocket sock1 = (SdlNet.SDLNet_GenericSocket)Marshal.PtrToStructure(sock, typeof(SdlNet.SDLNet_GenericSocket));
     SdlNet.SDLNet_DelSocket(set, sock1);
 }
Exemple #9
0
 public static IntPtr SDLNet_TCP_Accept(SdlNet.TCPsocket server);
Exemple #10
0
 public static IntPtr SDLNet_TCP_GetPeerAddress(SdlNet.TCPsocket sock);
Exemple #11
0
 public static string SDLNet_ResolveIP(ref SdlNet.IPaddress address);
Exemple #12
0
 public static int SDLNet_ResolveHost(ref SdlNet.IPaddress address, string host, short port);
Exemple #13
0
 public static Sdl.SDL_version SDLNet_Linked_Version()
 {
     return((Sdl.SDL_version)Marshal.PtrToStructure(SdlNet.SDLNet_Linked_VersionInternal(), typeof(Sdl.SDL_version)));
 }
Exemple #14
0
 public static void SDLNet_DelSocket(SdlNet.SDLNet_SocketSet set, SdlNet.SDLNet_GenericSocket sock);
Exemple #15
0
 public static int SDLNet_TCP_Recv(SdlNet.TCPsocket sock, IntPtr data, int maxlen);
Exemple #16
0
 public static void SDLNet_FreeSocketSet(SdlNet.SDLNet_SocketSet set);
Exemple #17
0
 public static int SDLNet_UDP_AddSocket(SdlNet.SDLNet_SocketSet set, IntPtr sock)
 {
     SdlNet.SDLNet_GenericSocket sock1 = (SdlNet.SDLNet_GenericSocket)Marshal.PtrToStructure(sock, typeof(SdlNet.SDLNet_GenericSocket));
     return(SdlNet.SDLNet_AddSocket(set, sock1));
 }