Understanding the MVI-ADMNET API
MVI-ADMNET
♦
'C' Programmable
Ethernet Module
ProSoft Technology, Inc.
Page 35 of 90
December 13, 2006
void (*usr_yield)( void );
byte rigid;
byte stress;
word sock_mode; // a logical OR of bits
longword usertimer; // ip_timer_set, ip_timer_timeout
dataHandler_t dataHandler;
eth_address hisethaddr; // peer's ethernet address
longword hisaddr; // peer's internet address
word hisport; // peer's UDP port
longword myaddr;
word myport;
word locflags;
int queuelen;
byte *queue;
int rdatalen; // must be signed
word maxrdatalen;
byte *rdata;
byte rddata[ tcp_MaxB 1]; // if dataHandler = 0, len == 512
longword safetysig;
} udp_Socket;