Skip to content

Networking (hle-net.ts)

Covers the PSP networking libraries: sceNet, sceNetInet, sceNetApctl, sceNetAdhoc (and Adhocctl / AdhocMatching), sceNetResolver, sceNp (and sceNp2), sceWlan, sceHttp / sceHttps, sceSsl, sceParseHttpHeader, sceParseUri, sceOpenPSID, and scePauth.

Networking is not implemented. Every function in this module is registered as a no-op stub (over 300 of them), so a game that probes for network features gets a benign default and continues, rather than crashing on an unimplemented call. There are no real socket, ad-hoc, or HTTP operations behind these calls (the browser has no raw sockets).

Practically, this means single-player titles boot and run normally, while online and ad-hoc multiplayer features do nothing.

How the stubs work

There are no real kernel.register() handlers here, only kernel.stub() calls. A stub takes no action, tracks its call count in the debug panel, and returns a fixed value. Most stubs return 0 (success). A handful return 1, because games treat 0 from those particular calls as "not ready" and would spin or bail. The Returns column below lists each one.

No C signatures are documented per function because none of these handlers read or write their arguments. The argument layout is the standard MIPS O32 ABI (a0-a3 in $4-$7); the stub ignores all of it and just sets the return value in v0.

sceHttp / sceHttps

HTTP(S) client. Every call below is a no-op stub. Connection handles, requests, headers, cookies, caching, and timeouts all do nothing, and no data is ever sent or received.

FunctionReturns
sceHttpAbortRequest0
sceHttpAddCookie1
sceHttpAddExtraHeader1
sceHttpCreateConnectionWithURL1
sceHttpCreateRequest1
sceHttpCreateRequestWithURL1
sceHttpCreateTemplate1
sceHttpDeleteConnection0
sceHttpDeleteHeader0
sceHttpDeleteRequest0
sceHttpDeleteTemplate0
sceHttpDisableAuth0
sceHttpDisableCache0
sceHttpDisableCookie0
sceHttpDisableKeepAlive0
sceHttpDisableRedirect0
sceHttpEnableAuth0
sceHttpEnableCache0
sceHttpEnableCookie0
sceHttpEnableKeepAlive0
sceHttpEnableRedirect0
sceHttpEnd0
sceHttpEndCache0
sceHttpGetAllHeader0
sceHttpGetContentLength0
sceHttpGetNetworkErrno0
sceHttpGetNetworkPspError0
sceHttpGetProxy0
sceHttpGetStatusCode0
sceHttpInit0
sceHttpInitCache1
sceHttpReadData1
sceHttpSaveSystemCookie0
sceHttpSendRequest0
sceHttpSetAuthInfoCB0
sceHttpSetAuthInfoCallback0
sceHttpSetConnectTimeOut1
sceHttpSetMallocFunction1
sceHttpSetProxy0
sceHttpSetRecvTimeOut0
sceHttpSetRedirectCallback0
sceHttpSetResolveRetry0
sceHttpSetResolveTimeOut0
sceHttpSetSendTimeOut0
sceHttpsDisableOption0
sceHttpsEnableOption0
sceHttpsEnd0
sceHttpsGetSslError0
sceHttpsInit1
sceHttpsInitWithPath1
sceHttpsLoadDefaultCert1
sceHttpsSetSslCallback0

sceNet / sceNetApctl / sceNetUpnp

Core networking init, the access-point control library (sceNetApctl) used to "connect" to an AP, the Ethernet-address helpers, and UPnP NAT helpers. All no-op stubs, so a game's connect attempts return success but never go anywhere.

FunctionReturnsNote
__NetApctlCallbacks0Internal callback dispatch.
sceNetInit0
sceNetTerm0
sceNetApctlAddHandler1
sceNetApctlAddInternalHandler1
sceNetApctlConnect1
sceNetApctlDelHandler0
sceNetApctlDelInternalHandler0
sceNetApctlDisconnect1
sceNetApctlGetBSSDescEntry0
sceNetApctlGetBSSDescEntry20
sceNetApctlGetBSSDescEntryUser0
sceNetApctlGetBSSDescIDList0
sceNetApctlGetBSSDescIDList20
sceNetApctlGetBSSDescIDListUser0
sceNetApctlGetInfo0
sceNetApctlGetState0
sceNetApctlInit1
sceNetApctlScan0
sceNetApctlScanSSID20
sceNetApctlScanUser0
sceNetApctlTerm0
sceNetApctl_6F5D29810Unnamed Apctl export.
sceNetApctl_A7BB73DF0Unnamed Apctl export.
sceNetApctl_lib2_4C19731F0Unnamed Apctl (lib2) export.
sceNetApctl_lib2_69745F0A0Unnamed Apctl (lib2) export.
sceNetApctl_lib2_C20A144C0Unnamed Apctl (lib2) export.
sceNetEtherNtostr0
sceNetEtherStrton0
sceNetFreeThreadinfo0
sceNetGetDropRate0
sceNetGetLocalEtherAddr1
sceNetGetLocalEtherAddrAlt0
sceNetGetMallocStat1
sceNetSetDropRate0
sceNetThreadAbort0
sceNetUpnpGetNatInfo0
sceNetUpnpInit1
sceNetUpnpStart1
sceNetUpnpStop0
sceNetUpnpTerm0
sceWlanDevIsPowerOn0WLAN power query exported under sceNet.

sceNetAdhoc / sceNetAdhocctl

Ad-hoc (peer-to-peer Wi-Fi) networking: the PDP/PTP sockets, ad-hoc game mode, and the sceNetAdhocctl control layer that joins and scans ad-hoc groups. All no-op stubs, so local multiplayer never finds peers.

FunctionReturnsNote
__NetTriggerCallbacks0Internal callback dispatch.
sceNetAdhocInit0
sceNetAdhocTerm0
sceNetAdhocDiscoverGetStatus0
sceNetAdhocDiscoverInitStart1
sceNetAdhocDiscoverRequestSuspend0
sceNetAdhocDiscoverStop0
sceNetAdhocDiscoverTerm0
sceNetAdhocDiscoverUpdate0
sceNetAdhocGameModeCreateMaster1
sceNetAdhocGameModeCreateReplica1
sceNetAdhocGameModeDeleteMaster0
sceNetAdhocGameModeDeleteReplica0
sceNetAdhocGameModeUpdateMaster0
sceNetAdhocGameModeUpdateReplica0
sceNetAdhocGetPdpStat0
sceNetAdhocGetPtpStat0
sceNetAdhocGetSocketAlert0
sceNetAdhocPdpCreate1
sceNetAdhocPdpDelete0
sceNetAdhocPdpRecv0
sceNetAdhocPdpSend0
sceNetAdhocPollSocket0
sceNetAdhocPtpAccept0
sceNetAdhocPtpClose0
sceNetAdhocPtpConnect1
sceNetAdhocPtpFlush0
sceNetAdhocPtpListen0
sceNetAdhocPtpOpen1
sceNetAdhocPtpRecv0
sceNetAdhocPtpSend0
sceNetAdhocSetSocketAlert0
sceNetAdhocctlAddHandler1
sceNetAdhocctlConnect1
sceNetAdhocctlCreate1
sceNetAdhocctlCreateEnterGameMode1
sceNetAdhocctlCreateEnterGameModeMin1
sceNetAdhocctlDelHandler0
sceNetAdhocctlDisconnect1
sceNetAdhocctlExitGameMode0
sceNetAdhocctlGetAddrByName1
sceNetAdhocctlGetAdhocId0
sceNetAdhocctlGetGameModeInfo0
sceNetAdhocctlGetNameByAddr1
sceNetAdhocctlGetParameter0
sceNetAdhocctlGetPeerInfo0
sceNetAdhocctlGetPeerList0
sceNetAdhocctlGetScanInfo0
sceNetAdhocctlGetState0
sceNetAdhocctlInit1
sceNetAdhocctlJoin0
sceNetAdhocctlJoinEnterGameMode0
sceNetAdhocctlScan0
sceNetAdhocctlTerm0

sceNetAdhocMatching

The ad-hoc matching layer that pairs hosts and clients before a session. All no-op stubs.

FunctionReturnsNote
__NetMatchingCallbacks0Internal callback dispatch.
sceNetAdhocMatchingAbortSendData0
sceNetAdhocMatchingCancelTarget0
sceNetAdhocMatchingCancelTargetWithOpt0
sceNetAdhocMatchingCreate1
sceNetAdhocMatchingDelete0
sceNetAdhocMatchingGetHelloOpt0
sceNetAdhocMatchingGetMembers0
sceNetAdhocMatchingGetPoolMaxAlloc1
sceNetAdhocMatchingGetPoolStat0
sceNetAdhocMatchingInit1
sceNetAdhocMatchingSelectTarget0
sceNetAdhocMatchingSendData0
sceNetAdhocMatchingSetHelloOpt0
sceNetAdhocMatchingStart1
sceNetAdhocMatchingStart21
sceNetAdhocMatchingStop0
sceNetAdhocMatchingTerm0

sceNetInet

The BSD-style socket layer (socket/bind/connect/send/recv/select, address conversion, socket options). All no-op stubs, so no socket ever opens.

FunctionReturns
sceNetInetAccept0
sceNetInetBind0
sceNetInetClose0
sceNetInetCloseWithRST0
sceNetInetConnect1
sceNetInetGetErrno0
sceNetInetGetPspError0
sceNetInetGetTcpcbstat0
sceNetInetGetUdpcbstat0
sceNetInetGetpeername0
sceNetInetGetsockname0
sceNetInetGetsockopt0
sceNetInetInetAddr1
sceNetInetInetAton0
sceNetInetInetNtop0
sceNetInetInetPton0
sceNetInetListen0
sceNetInetPoll0
sceNetInetRecv0
sceNetInetRecvfrom0
sceNetInetRecvmsg0
sceNetInetSelect0
sceNetInetSend0
sceNetInetSendmsg0
sceNetInetSendto0
sceNetInetSetsockopt0
sceNetInetShutdown0
sceNetInetSocket0
sceNetInetSocketAbort0
sceNetInetTerm0

sceNet string/util library

A small C-runtime-style helper library the network modules export (string and memory helpers, rand, sprintf). All no-op stubs, so callers get a 0 back instead of a real result.

FunctionReturns
sceNetMemcmp0
sceNetMemmove0
sceNetRand0
sceNetSprintf0
sceNetStrcasecmp0
sceNetStrchr0
sceNetStrcmp0
sceNetStrcpy0
sceNetStrlen0
sceNetStrncmp0
sceNetStrncpy0
sceNetStrtoul0

sceNetResolver

DNS resolution (name-to-address and address-to-name, sync and async). All no-op stubs, so no hostname ever resolves.

FunctionReturns
sceNetResolverCreate1
sceNetResolverDelete0
sceNetResolverInit1
sceNetResolverPollAsync0
sceNetResolverStartAtoN1
sceNetResolverStartAtoNAsync1
sceNetResolverStartNtoA1
sceNetResolverStartNtoAAsync1
sceNetResolverStop0
sceNetResolverTerm0
sceNetResolverWaitAsync0

sceNp

PlayStation Network: auth tickets, the NP commerce store, account/profile lookups, friend roster, and title small-storage lookups. All no-op stubs, so sign-in and online services do nothing.

FunctionReturns
sceNpAuthAbortRequest0
sceNpAuthCreateStartRequest1
sceNpAuthDestroyRequest0
sceNpAuthGetEntitlementById0
sceNpAuthGetEntitlementIdList0
sceNpAuthGetMemoryStat0
sceNpAuthGetTicket0
sceNpAuthGetTicketParam0
sceNpAuthInit1
sceNpAuthTerm0
sceNpCommerce2AbortReq0
sceNpCommerce2CreateCtx1
sceNpCommerce2CreateSessionCreateReq1
sceNpCommerce2CreateSessionGetResult1
sceNpCommerce2CreateSessionStart1
sceNpCommerce2DestroyCtx0
sceNpCommerce2DestroyReq0
sceNpCommerce2GetGameProductInfo0
sceNpCommerce2GetGameSkuInfoFromGameProductInfo0
sceNpCommerce2GetProductInfoCreateReq1
sceNpCommerce2GetProductInfoGetResult0
sceNpCommerce2GetProductInfoStart1
sceNpCommerce2GetSessionInfo0
sceNpCommerce2Init1
sceNpCommerce2InitGetProductInfoResult1
sceNpCommerce2Term0
sceNpGetAccountRegion0
sceNpGetChatRestrictionFlag0
sceNpGetContentRatingFlag0
sceNpGetMyLanguages0
sceNpGetNpId0
sceNpGetOnlineId0
sceNpGetUserProfile0
sceNpInit0
sceNpLookupAbortTransaction0
sceNpLookupCreateTransactionCtx1
sceNpLookupDestroyTransactionCtx0
sceNpLookupTitleSmallStorage0
sceNpRosterAbort0
sceNpRosterAddFriendListEntry1
sceNpRosterCreateRequest1
sceNpRosterDeleteRequest0
sceNpRosterGetBlockListEntry0
sceNpRosterGetBlockListEntryCount0
sceNpRosterGetFriendListEntry0
sceNpRosterGetFriendListEntryCount0
sceNpServiceGetMemoryStat0
sceNpServiceInit1
sceNpServiceTerm0
sceNpTerm0

sceNpMatching2

PSN room-based matchmaking (create/join/search rooms, room data, signaling). All no-op stubs.

FunctionReturns
sceNpMatching2AbortRequest0
sceNpMatching2ContextStart1
sceNpMatching2ContextStop0
sceNpMatching2CreateContext1
sceNpMatching2CreateJoinRoom1
sceNpMatching2DestroyContext0
sceNpMatching2GetMemoryStat0
sceNpMatching2GetRoomDataExternalList0
sceNpMatching2GetServerIdListLocal0
sceNpMatching2GetServerInfo0
sceNpMatching2GetWorldInfoList0
sceNpMatching2Init1
sceNpMatching2JoinRoom0
sceNpMatching2KickoutRoomMember0
sceNpMatching2LeaveRoom0
sceNpMatching2RegisterSignalingCallback1
sceNpMatching2SearchRoom0
sceNpMatching2SendRoomChatMessage0
sceNpMatching2SetRoomDataInternal0
sceNpMatching2SignalingGetConnectionStatus1
sceNpMatching2Term0

sceWlan

Wi-Fi hardware queries. All no-op stubs.

FunctionReturns
sceWlanGetEtherAddr0
sceWlanGetSwitchState0

sceOpenPSID

Console identity (the per-unit OpenPSID/PSID and product code). All no-op stubs, so games read a zeroed identity.

FunctionReturnsNote
sceDdrdb_F013F8BF0Unnamed export grouped with OpenPSID.
sceOpenPSIDGetOpenPSID1
sceOpenPSIDGetPSID1
sceOpenPSIDGetProductCode1

sceSsl

TLS/SSL certificate inspection and memory accounting. All no-op stubs.

FunctionReturns
sceSslEnd0
sceSslGetIssuerName0
sceSslGetKeyUsage0
sceSslGetNameEntryCount0
sceSslGetNameEntryInfo0
sceSslGetNotAfter0
sceSslGetNotBefore0
sceSslGetSerialNumber0
sceSslGetSubjectName0
sceSslGetUsedMemoryCurrent0
sceSslGetUsedMemoryMax0
sceSslInit1

sceParseHttpHeader

HTTP response/status-line parsing. All no-op stubs.

FunctionReturns
sceParseHttpResponseHeader0
sceParseHttpStatusLine0

sceParseUri

URI building, parsing, and escape/unescape. All no-op stubs.

FunctionReturns
sceUriBuild1
sceUriEscape0
sceUriParse0
sceUriUnescape0

scePauth

Package authentication helpers (only the unnamed exports are known by NID). All no-op stubs.

FunctionReturnsNote
scePauth_98B83B5D0Unnamed Pauth export.
scePauth_F7AA47F60Unnamed Pauth export.