API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

AEESOCKEXTENDEDERR

Brew Release
Brew MP 1.0.2
See Also
ISockPort_RecvMsg()
Description
Socket extended error structure for ICMP error reporting.
Members
  • nError   : Error code (AEE_NET_*)
  • ucOrigin : Error
  • AEE_SO_EE_ORIGIN_LOCAL: Locally originated error
  • AEE_SO_EE_ORIGIN_ICMP : ICMP error
  • AEE_SO_EE_ORIGIN_ICMP6: ICMPv6 error
  • ucType   : ICMP packet type field
  • ucCode   : ICMP packet code field
  • uInfo    : Discovered MTU for EMSGSIZE errors
  • uData    : Not currently used
Definition
  •    typedef struct AEESockExtendedErr {
          int    nError;
          uint8  ucOrigin;
          uint8  ucType;
          uint8  ucCode;
          uint32 uInfo;
          uint32 uData;
       } AEESockExtendedErr;
    
Comments
None.