On 10 Dec 2010, at 20:16, Diego wrote:

> Kieran Mansley <kie...@...> writes:
> 
>> 
>> 
>> On 10 Dec 2010, at 19:52, Diego wrote:
>>> 
>>>          tcp_write(pcb, SndBuffer, SndBufferLen, 0);
>>>          tcp_output(pcb);
>> 
>> I would check what return codes you're getting from these.  If there's a
> problem they're likely trying to
>> tell you what it is but you're ignoring them!
>> 
>> Kieran
> 
> How can I check this?

rc = tcp_write();
if(rc != 0)
  printf("tcp_write error %d",rc);

Have a read of doc/rawapi.txt or look at the lwIP wiki for some detail of what 
error numbers to expect and what they might mean.

Kieran
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to