Stack returns the network stack associated with the socket.
()
| 172 | |
| 173 | // Stack returns the network stack associated with the socket. |
| 174 | func (s *Socket) Stack() inet.Stack { |
| 175 | return s.netns.Stack() |
| 176 | } |
| 177 | |
| 178 | // NetworkNamespace returns the network namespace associated with the socket. |
| 179 | func (s *Socket) NetworkNamespace() *inet.Namespace { |
no test coverage detected