shouldSetSocketNetwork