Package netutil implements network-related utility functions.
DropPort drops all tcp packets that are received from the given port and sent to the given port.
func RecoverPort ¶
RecoverPort stops dropping tcp packets at given port.
func SetLatency ¶
SetLatency adds latency in millisecond scale with random variations.