forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

sceNetInit parameters

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
pspZorba



Joined: 22 Sep 2007
Posts: 156
Location: NY

PostPosted: Sun May 25, 2008 9:17 am    Post subject: sceNetInit parameters Reply with quote

Hi guys,

I am looking for information on the sceNetInit parameters.
I had a look in pspnet.h, there is nothing and neither the forum search button nor google gave me relevant infos.

So if you know something I will appreciate.

thx
_________________
--pspZorba--
NO to K1.5 !
Back to top
View user's profile Send private message
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Sun May 25, 2008 10:42 am    Post subject: Reply with quote

Hi Zorba.

I use the following call:

Code:
sceNetInit(128*1024, 42, 4*1024, 42, 4*1024);


The first argument seems to be some memory size, I assume it's for the whole of sceNet.

The second argument is the thread priority of the SceNetCallout thread.

Third argument is the stack size of SceNetCallout thread.

Fourth argument is priority of SceNetNetintr thread.

Fifth argument is stack size of SceNetNetintr thread.
Back to top
View user's profile Send private message
pspZorba



Joined: 22 Sep 2007
Posts: 156
Location: NY

PostPosted: Sun May 25, 2008 11:31 am    Post subject: Reply with quote

thank you IWN, that was exactly what I was looking for.
_________________
--pspZorba--
NO to K1.5 !
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group