Skip to content
  • Michal 'vorner' Vaner's avatar
    [805] Some test cleanups · da770d40
    Michal 'vorner' Vaner authored
    * Use IPv6 address for the test
    * Don't use static strings, use char*
    * Don't call them static if they are in anonymous namespace
    * Use getaddrinfo to get the (slightly system dependant) address structure
    * Use protocol field (even if it probably doesn't matter for SOCK_STREAM
      and SOCK_DGRAM)
    * Be more careful about releasing resources in error states (even if
      it's a test and they would terminate on the error anyway)
    da770d40