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.

Header File

Defined in <SDL_net.h>

Syntax

int SDLNet_GetLocalAddresses(IPaddress *addresses, int maxcount);

Function Parameters

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

Return Value

(int) Returns the number of addresses saved in addresses.

Version

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.