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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 587
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 396
Chapter 17. TCP/IP
389
17.5.2 Detailed Function Specifications
Function #2 .fcBind
Assign address to socket
Syntax: CALL "SOCKET.FN3" .fcBind SOCKFD%, FAMILY%, PORT%,
address
where address is ADDRESS or IPADDRESS$
Description:
This function assigns an address to the specified socket identifier.
BSD4.4 socket API equivalent: This function is equivalent to the BSD4.4
socket API bind() function.
Parameters: SOCKFD% Socket identifier
FAMILY% Protocol family
PORT% Port
ADDRESS IP address
IPADDRESS$ Internet address in dotted quad notation
The protocol family (
FAMILY%) must be 2, the value indicating the ARPA
Internet protocols.
.soINet
2
ARPA Internet protocols
When specifying the value greater than 32767, describe in hexadecimal
notation.
Example: PORT% = &h8000 ' Specify Port 32768
Return value: (None)
Run-time errors:
Error code Meaning
105h
Power-off detected.
209h
Socket identifier is invalid.
216h
A parameter is invalid, or the socket is already bound.
224h
The socket is being assigned an address.
230h
The specified IP address is already in use.
Vista de página 396
1 2 ... 392 393 394 395 396 397 398 399 400 401 402 ... 586 587

Comentários a estes Manuais

Sem comentários