Hi,
I've a strange error with NetWebGet.
I've create a system to send "high score" to my website.
LSdati$=NETWEBGET$("www.borzini.it",LScomand$, 80,1024,5000)
If I execute the code from my computer Mac or VirtualBox/WindowsXP it's run very well but
if I execute from iPhone (iOS 5.1) or iPod (iOS4) return to me this error:
error 57 "socket is not connected"
Any idea ?
thanks,
Paolo
Have you previously used a SOCKET command and not closed it ?
QuoteHave you previously used a SOCKET command and not closed it ?
Yes, the program start with Sock_init() and ended with Sock_close().
I've substituted the
NETWEBGET$("www.borzini.it",LScomand$, 80,1024,5000)
with
NETWEBGET("www.borzini.it",LScomand$, 80,LSsaved$,5000)
now the High Score sended correctly in web page but the error 57 always returned.
It's very very strange :(
Sure you have checked your web code to return correct values...
Quote from: MrTAToad on 2012-Apr-01
Sure you have checked your web code to return correct values...
Yes sure,
I call NETGETLASTERROR$() after NETWEBGET()
And the PHP/HTML code ?
Quote from: MrTAToad on 2012-Apr-01
And the PHP/HTML code ?
Is perfect! =D
I think the problem is Netwebget$ with iPhone becaus the version on Windows and iMac function very well :doubt:
Better post a bug report then!