mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-03-25 21:30:44 +00:00
Set retry count back to 4 with longer delay - add debug print to uthernet2
This commit is contained in:
parent
c789c3249e
commit
fe6742d33e
@ -693,6 +693,7 @@ def wizServiceIP
|
||||
|
||||
ir = peekreg(WIZ_IR)
|
||||
if ir
|
||||
puth(ir);putln
|
||||
wiz = @wizChannel
|
||||
for i = 0 to 3
|
||||
//
|
||||
|
@ -206,14 +206,14 @@ repeat
|
||||
optsSRV = 255
|
||||
DHCP.dhcp_secs.1 = retry
|
||||
iNet:sendUDP(portDHCP, 0, DHCP_SERVER_PORT, @DHCP, @optsSRV - @DHCP + 1)
|
||||
for timeout = 0 to 1000
|
||||
for timeout = 0 to 4000
|
||||
iNet:serviceIP()
|
||||
if optsOP.2 == DHCP_ACK
|
||||
break
|
||||
fin
|
||||
next
|
||||
retry++
|
||||
until retry > 16 or optsOP.2 == DHCP_ACK
|
||||
until retry > 4 or optsOP.2 == DHCP_ACK
|
||||
iNet:closeUDP(portDHCP)
|
||||
iNet:setInterfaceIP(@localip, @localnet, @localgw)
|
||||
puts("Apple II bound to:\n");putip(@localip);putc('/');putip(@localnet);putln
|
||||
|
Loading…
x
Reference in New Issue
Block a user