func (cn *Conn) SetContext(ctx context.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.
package socket
import (
	"net"
	"time"
	"golang.org/x/net/context"
)
func Dial(ctx context.Context, protocol, addr string) (*Conn, error) {
	conn, err := net.Dial(protocol, addr)
	if err != nil {
		return nil, err
	}
	return &Conn{conn}, nil
}
func DialTimeout(ctx context.Context, protocol, addr string, timeout time.Duration) (*Conn, error) {
	conn, err := net.DialTimeout(protocol, addr, timeout)
	if err != nil {
		return nil, err
	}
	return &Conn{conn}, nil
}
func LookupIP(ctx context.Context, host string) (addrs []net.IP, err error) {
	return net.LookupIP(host)
}
type Conn struct {
	net.Conn
}