I would like to set up a couple TCP/IP connections in GAE using Go. As I've searched it is impossible to get a static IP from the app engine, but can't find much data on other limitations.
Is it possible to establish a TCP/IP connection in GAE, and if so, how long can it be used before it has to be re-established?
It is clearly mentioned here that you may not open a socket from within their sandboxed environment. Now HTTP is also based on TCP/IP, and you may "fetch" content using URLs (in Python it's urllib and urllib2, don't know much about Go). But raw SOCK_STREAM connections? NO.
regards,
Yati Sagade
The situation has changed and as of July 2013 there is an experimental Socket service available for Java and Python. It is enabled only for paid accounts, you can only create outbound connections, and there are few other limitations. Also, the docs says that the API is not stable and may be subject to changes.
As of December 2013 there is the experimental Socket service available for Go as well. The conditions in the relevant doc page are similar to the ones for Java and Python.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With