![Anybus CompactCom 40 Common Ethernet Design Manual Download Page 69](http://html1.mh-extra.com/html/anybus/compactcom-40-common-ethernet/compactcom-40-common-ethernet_design-manual_2948756069.webp)
67 (104)
Command Details: Create
Category
Extended
Details
Command Code
03h
Valid for:
Object Instance
Description
This command creates a socket.
This command is only allowed in WAIT_PROCESS, IDLE and PROCESS_ACTIVE states.
•
Command Details
Field
Contents
CmdExt[0]
(reserved, set to zero)
CmdExt[1]
Value:
00h
01h
02h
03h
Socket Type:
SOCK_STREAM, NON-BLOCKING (TCP)
SOCK_STREAM, BLOCKING (TCP)
SOCK_DGRAM, NON-BLOCKING (UDP)
SOCK_DGRAM, BLOCKING (UDP)
•
Response Details
Field
Contents
Comments
Data[0]
Instance number (low)
Instance number of the created socket.
Data[1]
Instance number (high)
Anybus
®
CompactCom
™
40 Common Ethernet Design Guide
HMSI-27–269 2.1