Denso Power Net Terminal BHT-7500 Dokumentacja Strona 440

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 560
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 439
Chapter 18. TCP/IP
431
18.5.2 Detailed Function Specifications
Syntax: CALL "SOCKET.FN3" 0 VERSION$
Description: This function returns the SOCKET.FN3 library version in VERSION$.
Parameters: (None)
Return value:
VERSION$: Version information, 7 characters, fixed length
Syntax: CALL "SOCKET.FN3" 2 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 Local address for connection
IPADDRESS$ Internet address in dotted quad notation
The protocol family (
FAMILY%) must be 2, the value indicating the ARPA
Internet protocols.
Return value: (None)
Run-time errors:
Function #0 Get SOCKET.FN3 version
Function #2 Assign address to socket
Error code Meaning
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.
Przeglądanie stron 439
1 2 ... 435 436 437 438 439 440 441 442 443 444 445 ... 559 560

Komentarze do niniejszej Instrukcji

Brak uwag