当前位置: 代码迷 >> Brew >> Brew组播编程有关问题
  详细解决方案

Brew组播编程有关问题

热度:6584   发布时间:2013-02-26 00:00:00.0
Brew组播编程问题
IBCMCSDB接口及
// Protocol
#define AEEBCMCSDB_PROTOCOL_PPP              0
#define AEEBCMCSDB_PROTOCOL_IPv4             1
#define AEEBCMCSDB_PROTOCOL_IPv6             2

typedef uint32 AEEBCMCSDBRecord_Protocol;

// CRC Length
#define AEEBCMCSDB_CRC_NONE                  0
#define AEEBCMCSDB_CRC_2BYTES                2

typedef uint8 AEEBCMCSDBRecord_CrcLen;


// BCMCS DB Record options IDs
// ---------------------------

// macro for selecting a unique WEBOPT_VARIABLE value, based on id.
#define AEEBCMCSDBOPT_VARIABLE_UNIQUE(id)  WEBOPT_VARIABLE_UNIQUE(id)

// complex types, such as struct and array

#define AEEBCMCSDBRECORDOPT_IpAddr          (AEEBCMCSDBOPT_VARIABLE_UNIQUE(0) \
                                             + sizeof(AEEBCMCSDBRecord_IpAddr))

#define AEEBCMCSDBRECORDOPT_HdrZone         (AEEBCMCSDBOPT_VARIABLE_UNIQUE(1) \
                                             + sizeof(AEEBCMCSDBRecord_HdrZone))

#define AEEBCMCSDBRECORDOPT_CompositeFlowId (AEEBCMCSDBOPT_VARIABLE_UNIQUE(2) \
                                             + sizeof(AEEBCMCSDBRecord_CompositeFlowId))


// simple types, such as integers and enum

#define AEEBCMCSDBRECORDOPT_Port            (WEBOPT_32BIT + 0)

#define AEEBCMCSDBRECORDOPT_SimpleFlowId    (WEBOPT_32BIT + 1)

#define AEEBCMCSDBRECORDOPT_Framing         (WEBOPT_32BIT + 2)

#define AEEBCMCSDBRECORDOPT_Protocol        (WEBOPT_32BIT + 3)

#define AEEBCMCSDBRECORDOPT_CrcLen          (WEBOPT_32BIT + 4)

#define AEEBCMCSDBRECORDOPT_END             WEBOPT_END

这个头文件中的组播怎么运用,有没有事例代码可以参考或请高手讲讲组播编程方式
------最佳解决方案--------------------------------------------------------
懂得BCMCS编程的,国内没几个呀
------其他解决方案--------------------------------------------------------
so what's your problem?
------其他解决方案--------------------------------------------------------
引用:
懂得BCMCS编程的,国内没几个呀
  相关解决方案