ENC28J60 Arduino help needed

Would putting the below into the loop be sufficient ?

Ethernet.begin(mac, ip, gateway, subnet); // start the Ethernet connection
  server.begin(); // begin listening for TCP connections
}