transocks icon indicating copy to clipboard operation
transocks copied to clipboard

Use TCPConn.SyscallConn to control underlying FD

Open ymmt2005 opened this issue 7 years ago • 0 comments

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+.

ymmt2005 avatar Dec 10 '17 15:12 ymmt2005