PSPSDK 2024-10-31
Loading...
Searching...
No Matches
psputility_netmodules.h File Reference
#include <psptypes.h>
Include dependency graph for psputility_netmodules.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PSP_NET_MODULE_COMMON   1
 
#define PSP_NET_MODULE_ADHOC   2
 
#define PSP_NET_MODULE_INET   3
 
#define PSP_NET_MODULE_PARSEURI   4
 
#define PSP_NET_MODULE_PARSEHTTP   5
 
#define PSP_NET_MODULE_HTTP   6
 
#define PSP_NET_MODULE_SSL   7
 
#define SCE_ERROR_NET_MODULE_NOT_LOADED   (0x80110803)
 An error code used as a return value.
 

Functions

int sceUtilityLoadNetModule (int module)
 Load a network module (PRX) from user mode.
 
int sceUtilityUnloadNetModule (int module)
 Unload a network module (PRX) from user mode.
 

Macro Definition Documentation

◆ PSP_NET_MODULE_ADHOC

#define PSP_NET_MODULE_ADHOC   2

◆ PSP_NET_MODULE_COMMON

#define PSP_NET_MODULE_COMMON   1

◆ PSP_NET_MODULE_HTTP

#define PSP_NET_MODULE_HTTP   6

◆ PSP_NET_MODULE_INET

#define PSP_NET_MODULE_INET   3

◆ PSP_NET_MODULE_PARSEHTTP

#define PSP_NET_MODULE_PARSEHTTP   5

◆ PSP_NET_MODULE_PARSEURI

#define PSP_NET_MODULE_PARSEURI   4

◆ PSP_NET_MODULE_SSL

#define PSP_NET_MODULE_SSL   7

◆ SCE_ERROR_NET_MODULE_NOT_LOADED

#define SCE_ERROR_NET_MODULE_NOT_LOADED   (0x80110803)

An error code used as a return value.

Function Documentation

◆ sceUtilityLoadNetModule()

int sceUtilityLoadNetModule ( int  module)

Load a network module (PRX) from user mode.

Load PSP_NET_MODULE_COMMON and PSP_NET_MODULE_INET to use infrastructure WifI (via an access point). Available on firmware 2.00 and higher only.

Parameters
module- module number to load (PSP_NET_MODULE_xxx)
Returns
0 on success, < 0 on error

◆ sceUtilityUnloadNetModule()

int sceUtilityUnloadNetModule ( int  module)

Unload a network module (PRX) from user mode.

Available on firmware 2.00 and higher only.

Parameters
module- module number be unloaded
Returns
0 on success, < 0 on error