Correct return value for net2_create_and_store_socket.