Denso BHT-200QW Especificações Página 421

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 587
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 420
Chapter 17. TCP/IP
413
Function #26 .fcSocket
Create socket
Syntax:
CALL
"SOCKET.FN3"
.fcSocket FAMILY%, TYPE%,
PROTOCOL%, SOCKFD%
Description:
This function creates a socket from the specified protocol family, socket
type, and protocol layer and assigns it to a socket identifier.
BSD4.4 socket API equivalent: This function is equivalent to the BSD4.4
socket API socket() function.
Parameters: FAMILY% Protocol family for the socket
TYPE% Socket type
PROTOCOL% Protocol layer for the socket
The protocol family (
FAMILY%) must be 2, the value indicating the ARPA
Internet protocols.
.soINet
2
ARPA Internet protocols
The socket type (TYPE%) must be one of the following values:
.soStream
1
Stream socket
.soDGRam
2
Datagram socket
.soSoRaw
3
RAW socket
The protocol layer (PROTOCOL%) must be one of the following values:
.soICMP
1
ICMP
.soTCP
6
TCP
.soUDP
17
UDP
Return value: SOCKFD% Socket identifier
Vista de página 420
1 2 ... 416 417 418 419 420 421 422 423 424 425 426 ... 586 587

Comentários a estes Manuais

Sem comentários