Hi Baptiste!

> It works for more or less 20 minutes and then I receive a:
> 
>     printf("ERROR: recsize < 0!\n");
> 
> This comes from here:
>     if ((socket > MAX_SOCKETS) || (socket_base_sockets[socket -
> 1].socket_id == 0)) {
>         return false;
>     }
> 
> When I break here, socket = 2, then 3, then 4 and then it blocks, not a
> isr_hard_fault but I don't receive anything then.

Sounds like sockets where not freed after sending the UDP packet. If this
assumption is correct, the problem should not be dependent on the time, but on
the number of transmissions. Can you check?

Cheers,
Oleg
-- 
/* Sun, you just can't beat me, you just can't.  Stop trying,
 * give up.  I'm serious, I am going to kick the living shit
 * out of you, game over, lights out.
 */
         linux-2.6.6/arch/sparc/lib/checksum.S

Attachment: pgprQ991cMeGi.pgp
Description: PGP signature

_______________________________________________
devel mailing list
[email protected]
http://lists.riot-os.org/mailman/listinfo/devel

Reply via email to