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

SDLNet_GetLocalAddresses

Get the addresses of network interfaces on this system.

Syntax

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

Version

This function is available since SDL_net 2.0.0.


CategoryAPI


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