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

undefined: syscall.CmsgSpace #1

Closed
tsoil opened this issue Apr 14, 2021 · 1 comment
Closed

undefined: syscall.CmsgSpace #1

tsoil opened this issue Apr 14, 2021 · 1 comment

Comments

@tsoil
Copy link

tsoil commented Apr 14, 2021

C:\Users\Administrator\go\src\github.com\zealic\go2node\ipc\message.go:30:22: undefined: syscall.CmsgSpace
C:\Users\Administrator\go\src\github.com\zealic\go2node\ipc\message.go:31:24: undefined: syscall.Recvmsg
C:\Users\Administrator\go\src\github.com\zealic\go2node\ipc\message.go:50:13: undefined: syscall.SocketControlMessage
C:\Users\Administrator\go\src\github.com\zealic\go2node\ipc\message.go:51:15: undefined: syscall.ParseSocketControlMessage
C:\Users\Administrator\go\src\github.com\zealic\go2node\ipc\message.go:60:14: undefined: syscall.ParseUnixRights
C:\Users\Administrator\go\src\github.com\zealic\go2node\ipc\message.go:77:9: undefined: syscall.Sendmsg
C:\Users\Administrator\go\src\github.com\zealic\go2node\ipc\message.go:91:9: undefined: syscall.UnixRights
C:\Users\Administrator\go\src\github.com\zealic\go2node\ipc\socket.go:11:14: undefined: syscall.Socketpair
C:\Users\Administrator\go\src\github.com\zealic\go2node\ipc\socket.go:11:33: undefined: syscall.AF_LOCAL

@zealic
Copy link
Owner

zealic commented Apr 14, 2021

C:\Users\Administrator\go\src\github.com\zealic\go2node\ipc\message.go:30:22: undefined: syscall.CmsgSpace
C:\Users\Administrator\go\src\github.com\zealic\go2node\ipc\message.go:31:24: undefined: syscall.Recvmsg
C:\Users\Administrator\go\src\github.com\zealic\go2node\ipc\message.go:50:13: undefined: syscall.SocketControlMessage
C:\Users\Administrator\go\src\github.com\zealic\go2node\ipc\message.go:51:15: undefined: syscall.ParseSocketControlMessage
C:\Users\Administrator\go\src\github.com\zealic\go2node\ipc\message.go:60:14: undefined: syscall.ParseUnixRights
C:\Users\Administrator\go\src\github.com\zealic\go2node\ipc\message.go:77:9: undefined: syscall.Sendmsg
C:\Users\Administrator\go\src\github.com\zealic\go2node\ipc\message.go:91:9: undefined: syscall.UnixRights
C:\Users\Administrator\go\src\github.com\zealic\go2node\ipc\socket.go:11:14: undefined: syscall.Socketpair
C:\Users\Administrator\go\src\github.com\zealic\go2node\ipc\socket.go:11:33: undefined: syscall.AF_LOCAL

Windows not support "Unix domain socket pair" API, it only supported on Linux/Unix/BSD based OS.

But Windows 10 build 17063 and newer (April 2018 Update) supports AF_UNIX sockets, welcome your contribution to support this feature.

See also:

@zealic zealic closed this as completed Apr 14, 2021
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