NET_Address(3type)

πŸ“¦
version 3.2.0 Β· 2 versions
, in fedora 43, fedora 44

πŸ’– NAME πŸ’–

NET_Address β€” an opaque representation of a computer-readable network address, bestie. It's giving handle-not-details. Also this page is chillin' in the SDL_net3 DATATYPES manual, iykyk. πŸ’…

✨ SYNOPSIS ✨

#include <SDL3_net/SDL_net.h>

typedef struct NET_Address NET_Address;

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so real talk: NET_Address is an opaque datatype, which means the app treats it like a handle. No cap.

SDL_net uses these cuties to identify other servers. You use them to connect to a remote machine, and you also use them to find out who connected to you. They're also used to decide what network interface to use when creating a server. Main character energy for networking, fr fr. πŸ‘‘

These are intended to be protocol-independent. A given address might be for IPv4, IPv6, or something more esoteric. SDL_net attempts to hide the differences, so you don't have to spiral. ✨

🌸 AVAILABILITY 🌸

This datatype is available since SDL_net 3.0.0. Periodt.

πŸ‘‘ SEE ALSO πŸ‘‘


xoxo, this page came from the SDL_net source, version SDL_net 3.2.0, and it's serving pure NET_Address(3type) energy πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from