Amigo, este error trae JobDone en su variable j.success
java.net.SocketTimeoutExcepcyion.connect timed Out
Sub GetRecord (id As Int) As ResumableSub
Dim req As DBRequestManager = CreateRequest
Dim cmd As DBCommand = CreateCommand("create_table", Array(id))
'req.ExeucteQuery returns a HttpJob. The returned HttpJob is used as the sender filter.
Wait For (req.ExecuteQuery(cmd, 0, Null)) JobDone(j As HttpJob)
If j.Success Then
req.HandleJobAsync(j, "req")
Wait For (req) req_Result(res As DBResult)
'work with result
' req.PrintTable(res)
Return res
Else
Msgbox(j.ErrorMessage,"eRR") ' Log("ERROR: " & j.ErrorMessage)
End If
j.Release
Dim res As DBResult = Null
Return res
End Sub