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
Currently, in the x/sys/unix package, there are SetsockoptLinger() and SetsockoptTimeval() for setting the Linger and Timeout options, however, there is no corresponding getter for them.
Due to the lack of getters, there's no viable way to get those socket options (i.e. linger and timeout), unless doing syscalls myself, which is not preferable.
The text was updated successfully, but these errors were encountered:
namusyaka
changed the title
Adding GetsockoptLinger() and GetsockoptTimeval() to /x/sys
proposal: x/sys/unix: Adding GetsockoptLinger() and GetsockoptTimeval()
Mar 25, 2018
tklauser
changed the title
proposal: x/sys/unix: Adding GetsockoptLinger() and GetsockoptTimeval()
x/sys/unix: Adding GetsockoptLinger() and GetsockoptTimeval()
Mar 26, 2018
Currently, in the x/sys/unix package, there are SetsockoptLinger() and SetsockoptTimeval() for setting the Linger and Timeout options, however, there is no corresponding getter for them.
Due to the lack of getters, there's no viable way to get those socket options (i.e. linger and timeout), unless doing syscalls myself, which is not preferable.
The text was updated successfully, but these errors were encountered: