NET_Address(3type)
π 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
- fedora 43: SDL3_net-devel 3.2.0-2.fc43 Β· Zlib
- fedora 43: SDL3_net-devel 3.2.0-2.fc43 Β· Zlib
- fedora 44: SDL3_net-devel 3.2.0-2.fc44 Β· Zlib
- fedora 44: SDL3_net-devel 3.2.0-2.fc44 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms