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


Get the addresses of network interfaces on this system.


int SDLNet_GetLocalAddresses(IPaddress *addresses, int maxcount);

Function Parameters

addresses where to store the returned information.
maxcount the number of results that can be stored at addresses

Return Value

Returns the number of addresses saved in addresses


This function is available since SDL_net 2.0.0.


[ 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.