SDL Wiki
(This function is part of SDL_net, a separate library from SDL.)


Close a UDP socket.

Header File

Defined in <SDL_net.h>


void SDLNet_UDP_Close(UDPsocket sock);

Function Parameters

UDPsocket sock UDP socket to close.


This disconnects the socket and frees any resources it retains.

This socket may not be used again once given to this function.


This function is available since SDL_net 2.0.0.

CategoryAPI, CategoryAPIFunction

[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.