blob: 8038d8832a39a17aa2bd8ac6bb9b38cb7d3b2fbe [file] [log] [blame]
// +build !linux
package socket
import (
"fmt"
"io"
)
// NewSocket is a dummy function for non-Linux platform.
func NewSocket(id int) (io.ReadWriteCloser, error) {
return nil, fmt.Errorf("only available on linux")
}