Open ymmt2005 opened 6 years ago
Go 1.9 adds TCPConn.SyscallConn to make it possible to invoke arbitrary syscalls on the underlying file descriptor.
We should replace the current hack with this, at least for Go 1.9+.
Go 1.9 adds TCPConn.SyscallConn to make it possible to invoke arbitrary syscalls on the underlying file descriptor.
We should replace the current hack with this, at least for Go 1.9+.