lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] LWIP Client code help


From: shettys
Subject: Re: [lwip-users] LWIP Client code help
Date: Thu, 28 Jun 2012 02:44:52 -0700 (PDT)

Thank you, just getting used to implementing the raw api functions in LWIP :)

Kieran Mansley wrote:
> 
> 
> On 24 Jun 2012, at 01:55, shettys wrote:
> 
>> I want to keep this connection and send messages without having to
>> disconnect. Could someone please tell me why i have to close the
>> connection
>> and open it again every time to send a message? 
> 
> You don't have to do that.  Why do you think you do?  The code that you've
> written will only work that way, but that's because you only do your
> tcp_write() in the connected() callback.  If you did your tcp_write()
> somewhere else then you could do as many of them as you like.  Perhaps
> some of the examples in the lwip-contrib repository would help?
> 
> Kieran
> _______________________________________________
> lwip-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-users
> 
> 

-- 
View this message in context: 
http://old.nabble.com/LWIP-Client-code-help-tp34060658p34085290.html
Sent from the lwip-users mailing list archive at Nabble.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]