You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Used cgo and C language library to realize encrypted communication with sm2, sm3 and sm4 algorithm. At first, I can not fetch the tcp socket file descriptor which will be the input argument of the C language library. Then, I add a methed in net.go to fetch the Unix/Linux file descriptor to solve this problem.
What did you expect to see?
There is a specific method to get Unix/Linux socket file descriptor, so I can operate the fd freely under certain circumstances.
Thank you for reading.
The text was updated successfully, but these errors were encountered:
We don't generally use the issue tracker for questions. You will get better and faster answers using a forum. See https://golang.org/wiki/Questions. Thanks.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes. The latest release has no methed to get the Unix/Linux socket file descriptor either.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Used cgo and C language library to realize encrypted communication with sm2, sm3 and sm4 algorithm. At first, I can not fetch the tcp socket file descriptor which will be the input argument of the C language library. Then, I add a methed in net.go to fetch the Unix/Linux file descriptor to solve this problem.
What did you expect to see?
There is a specific method to get Unix/Linux socket file descriptor, so I can operate the fd freely under certain circumstances.
Thank you for reading.
The text was updated successfully, but these errors were encountered: