Denso Power Net Terminal BHT-103 Dokumentacja Strona 496

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 577
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 495
488
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.
The socket type (
TYPE%) must be one of the following values:
The protocol layer (
PROTOCOL%) must be one of the following values:
Return value:
SOCKFD% Socket identifier
Run-time errors:
.fcSocket Create socket
.soINet 2 ARPA Internet protocols
.soStream 1 Stream socket
.soDGRam 2 Datagram socket
.soSoRaw 3 RAW socket
.soICMP 1 ICMP
.soTCP 6 TCP
.soUDP 17 UDP
Error code Meaning
106h
An internal error has occurred in the TCP/IP module during data
transmission.
107h
The TCP/IP module has not been initiated.
108h
The memory for the TCP/IP module has became insufficient dur-
ing data transmission.
218h
Too many sockets
22Bh
This protocol family does not support the specified protocol type
and protocol.
237h
There is insufficient system area memory.
Przeglądanie stron 495
1 2 ... 491 492 493 494 495 496 497 498 499 500 501 ... 576 577

Komentarze do niniejszej Instrukcji

Brak uwag