Fwd: Post requiring approval

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Fwd: Post requiring approval

by Wilford Rosa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Begin forwarded message:

Date: September 18, 2008 2:54:59 AM CDT
To: <Chuck@...>
Subject: Post requiring approval

The attached message was sent to this moderated mailing list
to post the message forward it to coldfire@...

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

---
coldfire@...              Send a post to the list.
coldfire-join@...        Join the list.
coldfire-digest@...    Join the list in digest mode.
coldfire-leave@...     Leave the list.

From: Mauro <mau.salvi@...>
Date: September 18, 2008 2:54:30 AM CDT
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





coldfire@... Send a post to the list. coldfire-join@... Join the list. coldfire-digest@... Join the list in digest mode. coldfire-leave@... Leave the list.