Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not get the package because of error #4

Open
kaibox-git opened this issue Sep 14, 2020 · 1 comment
Open

Can not get the package because of error #4

kaibox-git opened this issue Sep 14, 2020 · 1 comment

Comments

@kaibox-git
Copy link

In the file "socket.go" the function newSocketCloexecOld declared as:

func newSocketCloexecOld(domain, typ, proto int) (int, error)

But instead of (int, error) it returns (syscall.Handle, error)
Got error: cannot use fd (type syscall.Handle) as type int in return argument

The same situation with the file "socket_other.go"

@TzeHimSung
Copy link

same situation here, need to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants