DREC Struct Reference

The structure describes the Daemon Entry. More...

Collaboration diagram for DREC:

[legend]

Data Fields

uint Type
 Type of socket. For V4 this could be SOCK_STREAM, SOCK_STREAMNC, SOCK_DGRAM But for V6 this can only be SOCK_STREAM and SOCK_DGRAM.
IPN LocalAddress
 Local V4 Address to which the socket is bound to For most cases this is passed as INADDR_ANY.
IP6N LocalV6Address
 Local V6 address to which the socket is bound to For most cases this is passed as IPV6_UNSPECIFIED_ADDRESS.
uint LocalPort
 Local Port to which the daemon will be bound to This cannot be NULL.
int(* pCb )(SOCKET, UINT32)
 Call back function which is invoked when data is received on the registered daemon.
uint Priority
 Priority of the child task.
uint StackSize
 Stack size of the child task.
UINT32 Argument
 Argument which is to passed to the call back routine.
uint MaxSpawn
 Maximum number of tasks which can be spawned to handle the daemon.
SOCKET s
 Internal socket created by the daemon for use.
uint TasksSpawned
 Number of tasks spawned to handle the daemon.
_childpC
 Pointer to children.

Detailed Description

The structure describes the Daemon Entry.


The documentation for this struct was generated from the following file:
Copyright 2009, Texas Instruments Incorporated