[Top][All Lists]

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

Re: [lwip-devel] tcp/ip packet

From: Jonathan Larmour
Subject: Re: [lwip-devel] tcp/ip packet
Date: Wed, 28 Nov 2007 14:14:26 +0000
User-agent: Thunderbird (X11/20070530)

ramash wrote:
> I have been using lwip ppp code to send tcp packet,upto lwip_accept it is
> working.after that what is the command to send tcp packets.kindly guide to
> send tcp packet over the ppp link.
> I called the function tcp_write but after calling the values of variables
> passed in  tcp_write is changed to garbage value.

If you are using lwip_accept, then that means you are using the sockets
API. tcp_write is part of the raw API, and so not what you want.

Instead use lwip_write.

eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------       Opinions==mine

reply via email to

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