Skip to content

Instantly share code, notes, and snippets.

@martinomburajr
Created May 29, 2019 04:46
Show Gist options
  • Select an option

  • Save martinomburajr/a3e5343d90f44916cec1fbd636b48c7a to your computer and use it in GitHub Desktop.

Select an option

Save martinomburajr/a3e5343d90f44916cec1fbd636b48c7a to your computer and use it in GitHub Desktop.
syscall rawconn
// A RawConn is a raw network connection. syscall/net.go
type RawConn interface {
Control(f func(fd uintptr)) error
Read(f func(fd uintptr) (done bool)) error
Write(f func(fd uintptr) (done bool)) error
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment