mirror of
https://github.com/tinygo-org/net.git
synced 2026-08-18 19:43:57 +00:00
Unexport net constants copied over from syscall
This commit is contained in:
committed by
deadprogram
parent
2d46776c18
commit
6bb697535a
+1
-1
@@ -57,7 +57,7 @@ func DialTLS(addr string) (*TLSConn, error) {
|
||||
port = 443
|
||||
}
|
||||
|
||||
fd, err := netdev.Socket(AF_INET, SOCK_STREAM, IPPROTO_TLS)
|
||||
fd, err := netdev.Socket(_AF_INET, _SOCK_STREAM, _IPPROTO_TLS)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user