libgui 2.01
libgui is a GUI library for the GameCube, Wii, and Wii U
 
Loading...
Searching...
No Matches
GameCubeNetwork.h
1/****************************************************************************
2 * Platform Abstraction Layer (OGC driver)
3 * Daryl Borth 2026
4 * GameCubeNetwork.h
5 *
6 * GameCube network interface bring-up
7 *
8 * ensureUp() re-validates the network is actually still up on every call
9 * rather than trusting a cached flag. Bring-up is synchronous (if_config)
10 ***************************************************************************/
11#pragma once
12
16{
17 public:
23 static bool ensureUp();
24
26 static bool isUp();
27
29 static void shutdown() {}
30};
GameCube network bring-up for the Broadband Adapter (synchronous if_config).
static void shutdown()
No-op on GameCube.
static bool isUp()
Non-blocking: true if the console currently has a usable IP.
static bool ensureUp()
Brings the network interface up if it isn't already, or confirms it's still alive if it is.