UDP_SOCKET_INFO Structure

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
UDP_SOCKET_INFO Structure
C
typedef struct {
  union {
    NODE_INFO remoteNode;
    DWORD remoteHost;
  } remote;
  UDP_PORT remotePort;
  UDP_PORT localPort;
  UDP_STATE smState;
  DWORD retryInterval;
  BYTE retryCount;
  struct {
    unsigned char bRemoteHostIsROM : 1;
  } flags;
  WORD eventTime;
} UDP_SOCKET_INFO;
Description

Stores information about a current UDP socket

Members
Members 
Description 
NODE_INFO remoteNode; 
10 bytes for MAC and IP address 
DWORD remoteHost; 
RAM or ROM pointer to a hostname string (ex: "www.microchip.com") 
UDP_PORT remotePort; 
Remote node's UDP port number 
UDP_PORT localPort; 
Local UDP port number, or INVALID_UDP_PORT when free 
UDP_STATE smState; 
State of this socket 
unsigned char bRemoteHostIsROM : 1; 
Remote host is stored in ROM 
Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.