• Mikio Hara's avatar
    net/internal/socktest: new package · 4d54f27b
    Mikio Hara authored
    Package socktest provides utilities for socket testing.
    
    This package allows test cases in the net package to simulate
    complicated network conditions such as that a destination address is
    resolvable/discoverable but is not routable/reachable at network layer.
    Those conditions are required for testing functionality of timeout,
    multiple address families.
    
    Change-Id: Idbe32bcc3319b41b0cecac3d058014a93e13288b
    Reviewed-on: https://go-review.googlesource.com/6090Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    4d54f27b
switch_unix.go 763 Bytes