NET_Quit - Man Page

Deinitialize the SDL_net library.

Synopsis

#include <SDL3_net/SDL_net.h>

void NET_Quit(void);

Description

This must be called when done with the library, probably at the end of your program.

It is safe to call this multiple times; the library will only deinitialize once, when this function is called the same number of times as NET_Init was successfully called.

Once you have successfully deinitialized the library, it is safe to call NET_Init to reinitialize it for further use.

Thread Safety

It is safe to call this function from any thread.

Availability

This function is available since SDL_net 3.0.0.

See Also

NET_Init(3)

Referenced By

NET_Init(3).

SDL_net 3.2.0 SDL_net3 FUNCTIONS