Go 1.11 has reached end of support
and will be deprecated
on January 31, 2026. After deprecation, you won't be able to deploy Go 1.11
applications, even if your organization previously used an organization policy to
re-enable deployments of legacy runtimes. Your existing Go
1.11 applications will continue to run and receive traffic after their
deprecation date. We
recommend that you migrate to the latest supported version of Go.
This package is only required in the classic App Engine environment.
Applications running only in App Engine "flexible environment" should
use the standard library's net package.
Dial connects to the address addr on the network protocol.
The address format is host:port, where host may be a hostname or an IP address.
Known protocols are "tcp" and "udp".
The returned connection satisfies net.Conn, and is valid while ctx is valid;
if the connection is to be used after ctx becomes invalid, invoke SetContext
with the new context.
SetContext sets the context that is used by this Conn.
It is usually used only when using a Conn that was created in a different context,
such as when a connection is created during a warmup request but used while
servicing a user request.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-04 UTC."],[[["Package `socket` provides outbound network socket functionality for the classic App Engine environment, while the standard library's `net` package should be used in the flexible environment."],["`LookupIP` function returns the IP addresses associated with a given host."],["`Conn` type represents a socket connection and implements the `net.Conn` interface."],["`Dial` and `DialTimeout` functions are used to establish network connections using specified protocols and addresses, with `DialTimeout` providing a timeout option."],["`KeepAlive` on `Conn` signals the connection is still in use to prevent closure due to inactivity and `SetContext` allows a `Conn` to be associated with a different context, such as a new user request."]]],[]]