[En-Nut-Discussion] (no subject)

Ole Reinhardt ole.reinhardt at embedded-it.de
Tue Mar 16 11:32:56 CET 2010


Hi!

> The NutUdpSendTo()works perfectly but the NutUdpReceiveFrom()does not work,
> the program stop's the first time it call's this function

You might have two issues:

- NutUdpReceiveFrom will block until you received any data or the
  timeout expired. Which timeout have you given?

- You raised a buffer overflow. Does your buffer have enough space for
  the received data? Have you allocated the buffer correctly or do you
  use a staticaly allocated buffer on the stack space? In this case,
  have you given your thread enough stack space?

Regards,

Ole

-- 

Thermotemp GmbH, Embedded-IT

Embedded Hard-/ Software and Open Source Development, 
Integration and Consulting

Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen - 
tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97

Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280 




More information about the En-Nut-Discussion mailing list