Module badtcp

Source
Expand description

Implement a NetStreamProvider that can break things.

Structsยง

BrokenTcpProvider ๐Ÿ”’
A NetStreamProvider that can make its connections fail.
ConditionalAction ๐Ÿ”’
An Action plus a set of conditions when it applies.

Enumsยง

Action ๐Ÿ”’
An action that we can take upon trying to make a TCP connection.
ActionPat ๐Ÿ”’
When should an Action apply?
BreakableTcpStream ๐Ÿ”’
A TCP stream that is either present, or black-holed.
BreakableTcpStreamP ๐Ÿ”’