| View previous topic :: View next topic |
| Author |
Message |
the underminer
Joined: 03 Oct 2005 Posts: 124 Location: Netherlands
|
Posted: Wed Nov 22, 2006 6:44 pm Post subject: cancelling connecting |
|
|
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 |
|
 |
Altair
Joined: 20 May 2006 Posts: 76 Location: The Netherlands
|
Posted: Wed Dec 20, 2006 12:29 am Post subject: |
|
|
I would like to know that as well.
[dutch]Wat is dat voor rare site trouwens dat ikhoefgeen.nl?[/dutch] |
|
| Back to top |
|
 |
the underminer
Joined: 03 Oct 2005 Posts: 124 Location: Netherlands
|
Posted: Sat Jan 20, 2007 8:04 pm Post subject: |
|
|
[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 |
|
 |
infidel
Joined: 04 Jun 2007 Posts: 3
|
Posted: Sun Jun 24, 2007 10:20 am Post subject: |
|
|
| I can't believe socket.connect was put into LUA without a timeout... |
|
| Back to top |
|
 |
cyberdog666
Joined: 21 Feb 2007 Posts: 2
|
Posted: Tue Jul 17, 2007 6:20 am Post subject: |
|
|
| You people are on crack, there is a timeout for both WLAN and socket connection. |
|
| Back to top |
|
 |
|