Diego <dco...@...> writes:

> 
> 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?
> 
> Diego
> 

well, I write like this:

int test;

test =  tcp_write(pcb, SndBuffer, SndBufferLen, 0);


and get this:
(my C# program always try 3 times)

When I send 384 bytes:
first: test = -6
Don't send

second: test = 0
Send correctly

When I send 768 bytes:
first: test = -6
Don't send

second: test = -1
Don't send

third: test = -1
Don't send







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

Reply via email to