Gio.networking_init

function networking_init(): void {
    // Gjs wrapper for g_networking_init()
}
  

Initializes the platform networking libraries (eg, on Windows, this calls WSAStartup()). GLib will call this itself if it is needed, so you only need to call it if you directly call system networking functions (without calling any GLib networking functions first).

Since 2.36