Rockwell-automation 1768-EWEB EtherNet/IP Web Server Module User Manua Manuale Utente Pagina 147

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 170
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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.
Vedere la pagina 146
1 2 ... 142 143 144 145 146 147 148 149 150 151 152 ... 169 170

Commenti su questo manuale

Nessun commento