Denso Power Net Terminal BHT-103 Dokumentacja Strona 448

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 577
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 447
440
Note for run-time error 105h
Socket close processing (SOCKET.FN3, Function #28) following occurrence of run-time error
105h would not complete immediately. This is because a FIN packet will be transmitted repeat-
edly in the socket close processing until the communications device receives any response
from the server independent of the power on/off state of the communications device.
The socket close processing period may be shortened by changing the retry count that deter-
mines the number of FIN packet retransmission times and is controlled by
SOCKET.FN3,
function #24, option #26.
(Example)
Sock.Err: Socket error-handling routine
print "ERR:";hex$(err.code%) Display error code
print "ERL:";hex$(err.line%) Display error line number
if sock.stts%>=3 then If OK until socket generation,
optname%=26 set retry count
option=0 No retry (transmit once)
call "socket.fn3" .fcSSckOpt sockfd%,optname%,option
call "socket.fn3" .fcClose sockfd% Close socket
end if
if sock.stts%>=2 then If OK until connection of TCP/IP
communications pathway,
call "socket.fn3" .fcTDiscnn interface% Disconnect the pathway
end if
if sock.stts%>=1 then If OK until opening the spread
spectrum communications device,
close #hCom3% close the device
end if
goto main To main program
Przeglądanie stron 447
1 2 ... 443 444 445 446 447 448 449 450 451 452 453 ... 576 577

Komentarze do niniejszej Instrukcji

Brak uwag