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 

cancelling connecting

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



Joined: 03 Oct 2005
Posts: 124
Location: Netherlands

PostPosted: Wed Nov 22, 2006 6:44 pm    Post subject: cancelling connecting Reply with quote

Is it possible to let the user abort the connection attempt in luaplayer 0.16?
When I have this code:
Code:
Wlan.init()
         Wlan.useConnectionConfig(SelConfig)
         socket, error = Socket.connect("ikhoefgeen.nl", 80)


The script execution halts after Wlan.useConnectionConfig(SelConfig) until the connection is set up. If the connection attempt fails, then luaplayer keeps trying, and the only thing you can do is press home to exit the app
_________________
Behold! The Underminer got hold of a PSP
Back to top
View user's profile Send private message
Altair



Joined: 20 May 2006
Posts: 76
Location: The Netherlands

PostPosted: Wed Dec 20, 2006 12:29 am    Post subject: Reply with quote

I would like to know that as well.

[dutch]Wat is dat voor rare site trouwens dat ikhoefgeen.nl?[/dutch]
Back to top
View user's profile Send private message
the underminer



Joined: 03 Oct 2005
Posts: 124
Location: Netherlands

PostPosted: Sat Jan 20, 2007 8:04 pm    Post subject: Reply with quote

[dutch]Een maat van me heeft die aangevraagd. Ik ben nog steeds op zoek naar een interessante domein-naam voor een website die ik voor mijn game heb gemaakt[/dutch]
_________________
Behold! The Underminer got hold of a PSP
Back to top
View user's profile Send private message
infidel



Joined: 04 Jun 2007
Posts: 3

PostPosted: Sun Jun 24, 2007 10:20 am    Post subject: Reply with quote

I can't believe socket.connect was put into LUA without a timeout...
Back to top
View user's profile Send private message
cyberdog666



Joined: 21 Feb 2007
Posts: 2

PostPosted: Tue Jul 17, 2007 6:20 am    Post subject: Reply with quote

You people are on crack, there is a timeout for both WLAN and socket connection.
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 Lua Player 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