inetstack icon indicating copy to clipboard operation
inetstack copied to clipboard

[test] Unit Test for Listen on an In-Use Address/Port Pair

Open ppenna opened this issue 2 years ago • 0 comments

Context

We should have a unit test that exercises "listening on an in-use address/port pair" error condition.

Proposed Solution

This unit test should be added to tests/tcp.rs#tcp_bad_listen

Further Considerations

  • This unit test requires SO_REUSEADDR to be introduced first.

Related Issues and Pull Requests

  • https://github.com/demikernel/inetstack/pull/176

ppenna avatar Jun 02 '22 11:06 ppenna