libgui 2.01
libgui is a GUI library for the GameCube, Wii, and Wii U
 
Loading...
Searching...
No Matches
GameCubeNetwork Class Reference

GameCube network bring-up for the Broadband Adapter (synchronous if_config). More...

#include <GameCubeNetwork.h>

Static Public Member Functions

static bool ensureUp ()
 Brings the network interface up if it isn't already, or confirms it's still alive if it is.
 
static bool isUp ()
 Non-blocking: true if the console currently has a usable IP.
 
static void shutdown ()
 No-op on GameCube.
 

Detailed Description

GameCube network bring-up for the Broadband Adapter (synchronous if_config).

Definition at line 15 of file GameCubeNetwork.h.

Member Function Documentation

◆ ensureUp()

bool GameCubeNetwork::ensureUp ( )
static

Brings the network interface up if it isn't already, or confirms it's still alive if it is.

Blocks for however long if_config takes until the console has a usable IP or bring-up is given up on.

Returns
true once the console has a usable IP.

Definition at line 15 of file GameCubeNetwork.cpp.

◆ isUp()

bool GameCubeNetwork::isUp ( )
static

Non-blocking: true if the console currently has a usable IP.

Definition at line 10 of file GameCubeNetwork.cpp.

◆ shutdown()

static void GameCubeNetwork::shutdown ( )
inlinestatic

No-op on GameCube.

Definition at line 29 of file GameCubeNetwork.h.


The documentation for this class was generated from the following files: