From WiiBrew
Jump to navigation Jump to search

The following Wii network library was developed by written dhewg, and adapted by wplaat. WiiNetwork contain functionality to log the start of an application. This event with optional user data (highscore information) is send to Google analytics.

API description

// Start http / tcp thread

  • extern int tcp_start_thread(char *name, char *version, char *url1, char *url2, char *token, char *userData);

// Stop network thread

  • extern int tcp_stop_thread(void);

// Get current state of network statemachine

  • extern int tcp_get_state(void);

// Get newest application version from a Web page.

  • extern char *tcp_get_version(void);

// Get release notes information from a Web page.

  • extern char *tcp_get_releasenote(void);