![Anybus CompactCom 40 EtherNet/IP Network Manual Download Page 111](http://html1.mh-extra.com/html/anybus/compactcom-40-ethernet-ip/compactcom-40-ethernet-ip_network-manual_2948758111.webp)
111
Doc.Id. HMSI-27-212
Anybus CompactCom 40 EtherNet/IP
Doc.Rev. 1.5
Command Details: Create
Category
Extended
Details
Command Code.:
03h
Valid for:
Object Instance
Description
This command creates a socket.
Note:
This command is only allowed in WAIT_PROCESS, IDLE and PROCESS_ACTIVE states.
• Command Details
• Response Details
Field
Contents
CmdExt[0] (reserved, set to zero)
CmdExt[1] Value:Socket Type:
00h SOCK_STREAM, NON-BLOCKING (TCP)
01h SOCK_STREAM, BLOCKING (TCP)
02h SOCK_DGRAM, NON-BLOCKING (UDP)
03h SOCK_DGRAM, BLOCKING (UDP)
Field
Contents
Comments
Data[0]
Instance number (low)
Instance number of the created socket.
Data[1]
Instance number (high)