Denso Power Net Terminal BHT-103 Especificações Página 466

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 577
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 465
458
sendlen%=255
sendmode%=0
call "socket.fn3" .fcSend sockfd%, sendbuff$, sendlen%, sendmode%, sendsize%
Transmit data
Use SOCKET.FN3 function #22
recvlen%=255
recvmode%=0
call "socket.fn3" .fcRecv sockfd%, recvbuff$, recvlen%, recvmode%, recvsize%
Receive data
Use SOCKET.FN3 function #14
call "socket.fn3" .fcClose sockfd% Close socket
Use SOCKET.FN3 function #28
call "socket.fn3" .fcTDiscnn interface% Disconnect TCP/IP communications
pathway
Use SOCKET.FN3 function #43
goto loop Conditional branch to get out of loop
loop_end:
close #hCom3% Close spread spectrum communications
device
To avoid occurrence of run-time errors, set socket options (SOCKET.FN3 function #24) follow-
ing TCP socket creation (SOCKET.FN3 function #26).
optname%=29 Set status retaining period after
option%=0 closing TCP socket to 0 second
(release immediately)
call "socket.fn3" .fcSSckOpt sockfd%, optname%, option
Set socket options
Use SOCKET.FN3 function #24.
Vista de página 465
1 2 ... 461 462 463 464 465 466 467 468 469 470 471 ... 576 577

Comentários a estes Manuais

Sem comentários