public static int SDLNet_AddSocket(SdlNet.SDLNet_SocketSet set, SdlNet.SDLNet_GenericSocket sock);
public static int SDLNet_CheckSockets(SdlNet.SDLNet_SocketSet set, int timeout);
public static int SDLNet_UDP_Bind(IntPtr sock, int channel, ref SdlNet.IPaddress address);
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); }
public static int SDLNet_TCP_Send(SdlNet.TCPsocket sock, IntPtr data, int len);
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); }
public static IntPtr SDLNet_TCP_Open(ref SdlNet.IPaddress ip);
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); }
public static IntPtr SDLNet_TCP_Accept(SdlNet.TCPsocket server);
public static IntPtr SDLNet_TCP_GetPeerAddress(SdlNet.TCPsocket sock);
public static string SDLNet_ResolveIP(ref SdlNet.IPaddress address);
public static int SDLNet_ResolveHost(ref SdlNet.IPaddress address, string host, short port);
public static Sdl.SDL_version SDLNet_Linked_Version() { return((Sdl.SDL_version)Marshal.PtrToStructure(SdlNet.SDLNet_Linked_VersionInternal(), typeof(Sdl.SDL_version))); }
public static void SDLNet_DelSocket(SdlNet.SDLNet_SocketSet set, SdlNet.SDLNet_GenericSocket sock);
public static int SDLNet_TCP_Recv(SdlNet.TCPsocket sock, IntPtr data, int maxlen);
public static void SDLNet_FreeSocketSet(SdlNet.SDLNet_SocketSet set);
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)); }