Acceptconnection, Msg configuration parameters – Rockwell Automation 1768-EWEB EtherNet/IP Web Server Module User Manual User Manual

Page 146

Advertising
background image

Publication ENET-UM527E-EN-P - October 2006

146 Socket Interface

AcceptConnection

The AcceptConnection service accepts a TCP connection request from
a remote destination. Before calling AcceptConnection, call
CreateSocket and specify the local port number that will accept the
connection. When AcceptConnection completes, it returns a socket
instance that you use for sending and receiving data on the
newly-created connection.

The AcceptConnection service is not valid for UDP sockets.

MSG Configuration Parameters

To call this service, click in the MSG instruction and enter the
values displayed below.

MSG Source Element

Specify a DINT tag to contain the timeout in milliseconds.

MSG Source Length

Specify 4 bytes (Timeout).

Parameter

Value

Service Type

AcceptConnection

Service Code

50

Class

342

Instance

from CreateSocket

Attribute

0

Advertising
This manual is related to the following products: