You are here: CSP API Reference > 1 EXS & SwitchKit API Messages > IP Socket Configure 0x00F0
SwitchKit Name
IPSocketConfig
Type
EXS API and SwitchKit API message
Description
IP Socket Configure 0x00F0
This message is used for TCP/IP socket registration and operations. The message registers the TCP/IP socket, opens or closes a socket, and prohibits or allows traffic on a socket.
Sent by
SwitchKit Code
Configuration
IPSocketConfig (
Node = integer,
Slot = integer,
DataType = integer,
TLVCount = integer,
Data = string);
C Structure
typedef struct {
BaseFields Base;
UBYTE Slot;
UBYTE DataType;
UBYTE TLVCount;
UBYTE Data[221];
} XL_IPSocketConfig;
C++ Class
class XLC_IPSocketConfig : public XLC_OutboundMessage {
public:
UBYTE getSlot() const;
void setSlot(UBYTE x);
UBYTE getDataType() const;
void setDataType(UBYTE x);
UBYTE getTLVCount() const;
void setTLVCount(UBYTE x);
const UBYTE *getData() const;
UBYTE *getData();
void setData(UBYTE *x);
};
EXS API Hex Format
MESSAGE (White) |
RESPONSE (Gray) |
||
Byte |
Field Description |
Byte |
Field Description |
0 |
Frame (0xFE) |
0 |
Frame (0xFE) |
1, 2 |
Length (0xNNNN) |
1, 2 |
Length (0x000B) |
3, 4 |
Message Type (0x00F0) |
3, 4 |
Message Type (0x00F0) |
5 |
Reserved (0x00) |
5 |
Reserved (0x00) |
6 |
Sequence Number |
6 |
Same Sequence Number |
7 |
Logical Node ID |
7 |
Logical Node ID |
: |
Address Method 0x00 - Individual AEs |
8, 9 |
|
Number of AEs to follow |
|||
AE |
|||
: |
Data Type (TLVs) |
10 |
Checksum |
: |
0x01 Client Socket Register by IP 0x02 Server Socket Register by IP 0x03 Client Socket Register by Name 0x04 Server Socket Register by Name |
||
: |
Checksum |