TCP / IP Connection in Google App Engine

I would like to establish a pair of TCP / IP connections in GAE using Go. As I searched, it is not possible to get a static IP address from the application engine, but cannot find much data about other restrictions.

Is it possible to establish a TCP / IP connection in GAE, and if so, how long can it be used before it is restored?

+4
source share
2 answers

It is clearly stated here that you cannot open a socket from an isolated environment. Now HTTP is also based on TCP / IP, and you can "download" content using URLs (in Python it is urllib and urllib2, they know little about Go). But raw compounds SOCK_STREAM? NO.

Yours faithfully,

Yati Sagade

+8
source

The situation has changed, and as of July 2013 there is an experimental Socket service for Java and Python. It is included only for paid accounts, you can create outgoing connections only, and there are several other restrictions. In addition, docs says that the API is unstable and can be changed.

As of December 2013, there is an experimental Socket service available for Go. The conditions in the corresponding page of the document are similar to the conditions for Java and Python.

+5
source

All Articles