sceNetApctlConnect returns 80410A0D

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
cadaver
Posts: 21
Joined: Sun Aug 07, 2005 2:31 am

sceNetApctlConnect returns 80410A0D

Post by cadaver »

Haven't found any information about this error (pspkerror.h was no help...)
cadaver
Posts: 21
Joined: Sun Aug 07, 2005 2:31 am

Post by cadaver »

never mind, forgot to call pspSdkInetInit...
Mashphealh
Posts: 18
Joined: Wed Nov 28, 2007 4:18 am

Post by Mashphealh »

Try calling this two functions before call sceNetApctlConnect.

Code: Select all

void NetInit(void)
{
   sceNetInit();
	sceNetInetInit();
	sceNetResolverInit();
	sceNetApctlInit(0x5400, 0x30, NULL);
}

void LoadNetModules(void)
{
        unsigned int v0;
        v0 = sceUtilityLoadNetModule(1);
	if&#40;v0 < 0&#41; 
	&#123;
		printf&#40;"uLoadNetModules&#58; Error 0x%08X loading pspnet.prx.\n", v0&#41;;		
	&#125;
        v0 = sceUtilityLoadNetModule&#40;3&#41;;
	if&#40;v0 < 0&#41; 
	&#123;	
		printf&#40;"uLoadNetModules&#58; Error 0x%08X loading parseuri.\n", v0&#41;;		
	&#125;
        v0 = sceUtilityLoadNetModule&#40;4&#41;;
	if&#40;v0 < 0&#41; 
	&#123;	
		printf&#40;"uLoadNetModules&#58; Error 0x%08X loading pspnet_inet.prx.\n", v0&#41;;		
	&#125;
        v0 = sceUtilityLoadNetModule&#40;5&#41;;
	if&#40;v0 < 0&#41; 
	&#123;
		printf&#40;"uLoadNetModules&#58; Error 0x%08X loading parsehttp.\n", v0&#41;;			
	&#125;
       v0 = sceUtilityLoadNetModule&#40;6&#41;;
	if&#40;v0 < 0&#41;
	&#123;	
		printf&#40;"uLoadNetModules&#58; Error 0x%08X loading pspnet.prx.\n", v0&#41;;		
	&#125;
	
&#125;
Post Reply