Hi Sathya:
    thanks for your help. however, how can i check the tcp send buffer? which function can i use ? or i have to write it by myself ? someone have told me that if i want to use tcp_write , i have use tcp_output follow it .
>     temp_pcb = tcp_active_pcbs ;
>    err = tcp_write(temp_pcb , &abc[j] , sizeof(abc[j]),0) ;
>    tcp_output(temp_pcb) ;
is it right? thanks again !

 
You will need to keep checking the tcp send buffer for the amount of space left in the buffer before you call tcp_write. Keep calling a function that checks the tcp snd buf for space available and send accordingly.

hope this helps

Sathya

_______________________________________
YM - 離線訊息
就算你沒有上網,你的朋友仍可以留下訊息給你,當你上網時就能立即看到,任何說話都冇走失。
http://messenger.yahoo.com.hk

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

Reply via email to