Discuss using and improving Lua and the Lua Player specific to the PSP.
Moderators: Shine , Insert_witty_name
the underminer
Posts: 123 Joined: Mon Oct 03, 2005 4:25 am
Location: Netherlands
Post
by the underminer » Wed Nov 22, 2006 6:44 pm
Is it possible to let the user abort the connection attempt in luaplayer 0.16?
When I have this code:
Code: Select all
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
Altair
Posts: 76 Joined: Sat May 20, 2006 2:33 am
Location: The Netherlands
Post
by Altair » Wed Dec 20, 2006 12:29 am
I would like to know that as well.
[dutch]Wat is dat voor rare site trouwens dat ikhoefgeen.nl?[/dutch]
the underminer
Posts: 123 Joined: Mon Oct 03, 2005 4:25 am
Location: Netherlands
Post
by the underminer » Sat Jan 20, 2007 8:04 pm
[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
infidel
Posts: 3 Joined: Mon Jun 04, 2007 10:02 am
Post
by infidel » Sun Jun 24, 2007 10:20 am
I can't believe socket.connect was put into LUA without a timeout...
cyberdog666
Posts: 2 Joined: Wed Feb 21, 2007 12:43 pm
Post
by cyberdog666 » Tue Jul 17, 2007 6:20 am
You people are on crack, there is a timeout for both WLAN and socket connection.