Fix call to old sock flag