Yay!the data in tdataline is echoed on the client in the "it" variable of the post command.
Yes, sorry. Some day.Am I correct in thinking that I am unable to use UDP from an Android platform ?

I'll take a look at the code when I get a chance.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Yay!the data in tdataline is echoed on the client in the "it" variable of the post command.
Yes, sorry. Some day.Am I correct in thinking that I am unable to use UDP from an Android platform ?
So the echo is a positive step forward - yes ?Yay!
- yes please; are you running an Android client ?If you want I'll bundle it all up and send it your way, but it sounds like you're on the verge of getting it all handled.
Code: Select all
command gpsResponse
-- echo what was sent to the message box
put gRequestA["lat"] && gRequestA["lon"] && gRequestA["alt"] && gRequestA["ttime"]
-- libCGI_Response is an andre defined command that sends whatever back to the requesting agent
-- the last parameter sets the content-type in this case I used "text/plain" but it could be "text/html" or whatever.
libCGI_Response ("Latitude: " & gRequestA["lat"] && "Longitude: " & gRequestA["lon"] && "Altitude: " & gRequestA["alt"] && "The Milliseconds: " &gRequestA["ttime"]), "text/plain"
end gpsResponse
Code: Select all
set the httpHeaders to "Content-Type: text/plain" & crlf & "Connection : close"
I was hoping that it was a documentation error - so I'll have to stick with post for the time being.Well, now that I've got you started thinking about "load"... Don't use it.
shaosean wrote:Unless there are two different versions of libURL for desktop and mobile, unload just removes the cached data from an array..
Code: Select all
on loadUrl
answer param(0)
end loadUrl
on unloadUrl
answer param(0)
end unloadUrl