On Tue, May 13, 2014 at 7:31 PM, Charles Pritchard <downch...@gmail.com>
 wrote:

> The idea here is to go ahead and listen on an http socket for a little
> while, for some data.
> HttpURLConnection only works for a single data packet, for getInputStream,
> and Socket will only wait up to 5 seconds to receive data, otherwise it
> throws an API error.
>


Does this API endpoint you're connecting to have "heartbeat" functionality?
Can you connect to it via a non-HTTP port (not 80 or 443)?


-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to