Fwd: Post requiring approval
Chuck Rice <[email protected]> Thu, 18 Sep 2008 12:14:21 -0500
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers.coldfire |
|---|---|
| Message-ID | <[email protected]> |
Begin forwarded message: > From: [email protected] > Date: September 18, 2008 2:54:59 AM CDT > To: <[email protected]> > Subject: Post requiring approval > Reply-To: [email protected] > > The attached message was sent to this moderated mailing list > to post the message forward it to [email protected] > > You may need to add this line to the top of the forwarded message > > This will only be needed if your emailer strips the special header and > your reply address doesn't match the moderator address stored in the > list > approved asits9 > Web based moderation: https://sMail.wildrice.com:7443/cgi/user.cgi > > --- > [email protected] Send a post to the list. > [email protected] Join the list. > [email protected] Join the list in digest mode. > [email protected] Leave the list. > > From: Mauro <[email protected]> > Date: September 18, 2008 2:54:30 AM CDT > To: [email protected] > Subject: UDP packets blocks > > > Hi, > I have a problem on receiving UDP packets on a WildFiremod board > with MCF5282 micro. > I have a program like this: > > INT32 udpCallback(......) > { > // if packet is a command, do work > } > > int main(void) > { > tcpip_init(0); > gUdp_socket = udp_getsocket(0,udpCallback,0); > udp_open(gUdp_socket,port); > while(1) tcp_tick(); > } > > My problem is that after a couple of time (about 3-4 minutes) that > program runs without receiving command packets, if I send it a > packet, it doesn't execute callback. Only after 3 or 4 received > packets it executes callback and process all packets received. > Packets are not lost, because when program "wakes-up", it process > all packets in the same order that it has received them. > I think that buffer queue hangs for an unknown cause, and then re- > starts work in the right mode when buffer has more packets. > What might happens? > Thank you, regards > Mauro > > > >