Hi Frederic,Thank you for your quick reply,Well, I was wondering about the 
netbuf_copy_partial function you talked to me about. Isnt it a socket api 
function? I am using the raw api and well, I can see what you mean when you say 
that there is a chain of pbuf when data is received and I am only taking the 
data of the first current pbuf received. You re right saying it could be 
handled better, still the command line I am sending to Virtex II are no more 
longer than 10 chars so I guess it shouldn't cause the software to crash. 
Besides I debugged the code by removing someparts and see how the server 
behaves. No problem appears to come before i check the commandType variable 
with a strncpy, then in this if, it starts behaving weirdly.Anyway, regarding 
sprintf, is memcpy better?Thanks again,Antoine.
_________________________________________________________________
Windows Live Messenger vous offre 30 nouvelles émoticônes gratuites, installées 
directement dans votre Messenger !
http://www.emoticones-messenger.fr/
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to