Socket Create - 0x40

Description

Use this frame to create a new socket with the following protocols: TCP, UDP, or TLS.

Format

The following table provides the contents of the frame. For details on frame structure, see API frame format.

Field name Field value Data type Description

Frame type

0x40

Byte

 

Frame ID

 

Byte

Reference identifier used to match status responses.

A response is required and will be sent regardless of the frame ID.

Protocol

 

Byte

0 = UDP

1 = TCP

4 = SSL over TCP