don't assume getsockopt(SO_REUSEADDR) returns 0 or 1 (BSDs only assures
it's 0 or non 0). same change for IPV6_V6ONLY, too. also change ASSERT_EQs to EXPECTs: failure of them doesn't seem to cause catastrophy in the subsequent tests. made also some style guideline fixes, too.
Showing with 10 additions and 10 deletions