Skip to content

Commit

Permalink
Various small revisions to TCPEndPoint (#10864)
Browse files Browse the repository at this point in the history
#### Problem

Working toward #7715 Virtualize System and Inet interfaces

#### Change overview

Miscellaneous revisions with no change to functionality.

- Add `TCPTest` class for test access to internal `TCPEndPoint` state.
- Make `State` private.
- Favor `ReturnErrorOnFailure()` etc.
- Factor `GetSocketInfo()` out of `Get(Local|Peer)Info()`

#### Testing

CI; no changes to functionality intended.
  • Loading branch information
kpschoedel authored and pull[bot] committed Dec 17, 2021
1 parent f49fce6 commit 1253979
Show file tree
Hide file tree
Showing 3 changed files with 278 additions and 267 deletions.
Loading

0 comments on commit 1253979

Please sign in to comment.