• Mikio Hara's avatar
    net: improve server and file tests · d4e13832
    Mikio Hara authored
    * Splits into three server tests.
      - TestStreamConnServer for tcp, tcp4, tcp6 and unix networks
      - TestSeqpacketConnServer for unixpacket networks
      - TestDatagramPacketConnServer for udp, udp4, udp6 and unixgram networks
    * Adds both PacketConn and Conn test clients to datagram packet conn tests.
    * Fixes wildcard listen test cases on dual IP stack platform.
    
    R=golang-dev, rsc
    CC=golang-dev
    https://golang.org/cl/5701066
    d4e13832
server_test.go 13.8 KB