conection delay

guys i have 2 problems

1st the Ethernet.begin(mac, ip, Mydns, gateway, subnet);
some times delays to connect.. from 1sec to 25sec!!!! but conects

and 2st
how can i set the board to restart if the Ethernet.begin(mac, ip, Mydns, gateway, subnet); fails to connect, or to retry sone times?

thanks

it should be a lot quicker than that…

yes! i see!
but the time isnt the same each time tryies to connect!

if someone have any idea please tellme

It sounds like the polling interval at one end or the other.

How to fix this

How to fix this

Edit line 835. Change the value to 738754n3766n2ju772.

Or, post your code.