Skip to content

Add support for golang.org/x/net/internal/socket #14

@scottfeldman

Description

@scottfeldman

Damian Gryski wrote:

Will any of the netdev stuff help with stubbing out the net package, so that things like

golang.org/x/net/internal/socket

../../../go/pkg/mod/golang.org/x/net@v0.19.0/internal/socket/rawconn.go:27:17: cannot use (*net.TCPConn)(nil) (value of type *net.TCPConn) as tcpConn value in variable declaration: *net.TCPConn does not implement tcpConn (missing method SetLinger)
../../../go/pkg/mod/golang.org/x/net@v0.19.0/internal/socket/rawconn.go:36:23: undefined: net.UDPConn
../../../go/pkg/mod/golang.org/x/net@v0.19.0/internal/socket/rawconn.go:45:22: undefined: net.IPConn

Need to port/stub out the missing pieces.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions