Rockwell-automation 1768-EWEB EtherNet/IP Web Server Module User Manua Instrukcja Użytkownika Strona 147

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 170
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 146
Publication ENET-UM527E-EN-P - October 2006
Socket Interface 147
MSG Destination Element
Create a user-defined data type.
where:
Considerations
Create a separate socket instance (CreateSocket) for each port number
that will accept connections. After you create a socket instances, call
AcceptConnection to wait for an incoming connection request. You
can accept connections on the same port number. Each call to
AcceptConnection returns a different instance number to use when
subsequently reading and writing data.
Element Element Description
Instance DINT Contains the instance for this service. Use this Instance on subsequent
Read and Write services for this connection.
Addr structure A user-defined structure that contains the address for the socket.
Family INT Contains the address family. Must be 2.
Port INT Contains a local port number.
Addr DINT Contains an IP address.
Przeglądanie stron 146
1 2 ... 142 143 144 145 146 147 148 149 150 151 152 ... 169 170

Komentarze do niniejszej Instrukcji

Brak uwag