Tao.Sdl SDK Documentation

SdlNet.SDLNet_Quit Method 

Shutdown and cleanup the network API.

[Visual Basic]
Public Shared Sub SDLNet_Quit()
[C#]
public static void SDLNet_Quit();

Remarks

After calling this all sockets are closed, and the SDL_net functions should not be used. You may, of course, use SDLNet_Init to use the functionality again.

Binds to C-function call in SDL_net.h:

extern DECLSPEC void SDLCALL SDLNet_Quit(void);

Example

            SDLNet_Quit();
            // you could SDL_Quit(); here...or not.
            

See Also

SdlNet Class | Tao.Sdl Namespace | SDLNet_Init