WE310F5  39.00.000
M2MB_PROFILE_SOC_RESULT Struct Reference

Socket for UDP & TCP initialization result. More...

#include <m2mb_profile.h>

Data Fields

UINT8 index
 
INT32 status
 
INT32 sd
 
INT32 type
 
UINT16 port
 
M2MB_IP46_ADDR_T addr
 
struct M2MB_PROFILE_SOC_RESULTnext
 

Detailed Description

Socket for UDP & TCP initialization result.

This structure is used to notify user about the status of UDP & TCP socket initialization result.

Definition at line 586 of file m2mb_profile.h.

Field Documentation

◆ addr

IP address and type is stored in this when the remote client is connected to DEFAULT_TCP_SERVER

Definition at line 593 of file m2mb_profile.h.

◆ index

UINT8 index

Index of the configuration in the UDP or TCP configuration list

Definition at line 588 of file m2mb_profile.h.

◆ next

pointer to next node in link

Definition at line 594 of file m2mb_profile.h.

◆ port

UINT16 port

port number is stored when the remote client is connected to DEFAULT_TCP_SERVER

Definition at line 592 of file m2mb_profile.h.

◆ sd

INT32 sd

If status is success then the valid socket descriptor (sd)

Definition at line 590 of file m2mb_profile.h.

◆ status

INT32 status

Status of the initialization, 0 for success -ve of failure

Definition at line 589 of file m2mb_profile.h.

◆ type

INT32 type

type of socket: DEFAULT_TCP_SERVER, DEFAULT_TCP_CLIENT, DEFAULT_UDP_SOCKET

Definition at line 591 of file m2mb_profile.h.


The documentation for this struct was generated from the following file: