lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Problem with TCP write.


From: Noam Weissman
Subject: Re: [lwip-users] Problem with TCP write.
Date: Mon, 23 Oct 2017 08:28:30 +0000

Hi Gautam,

 

First of all you are not supposed to make changes in opt.h file…

 

For that you need to add lwipopts.h in your own code !

 

Have you started with an example or did you dive into it with seeing that a simple echo server is working ?

 

I suggest starting to read some documentations and continuing from there.

 

BR,

Noam.  

 

 

From: lwip-users [mailto:lwip-users-bounces+address@hidden On Behalf Of Gautam Kumar
Sent: Monday, October 23, 2017 11:22 AM
To: 'Mailing list for lwIP users'
Subject: Re: [lwip-users] Problem with TCP write.

 

Hi Noam,

 

Please find the attached file.

Can you please help me out if you find anything not configured properly?

 

Regards,

Gautam

 

 

From: lwip-users [mailto:lwip-users-bounces+address@hidden] On Behalf Of Noam Weissman
Sent: 23 October 2017 13:32
To: Mailing list for lwIP users
Subject: Re: [lwip-users] Problem with TCP write.

 

Gautam,

 

Check err.h file !

 

/** Out of memory error.     */

  ERR_MEM        = -1,

 

You are doing something wrong in your code or did not properly defined your memory settings in lwipopts.h

 

If you show your code, it would help.

 

 

BR,

Noam.

 

 

 

From: lwip-users [mailto:lwip-users-bounces+address@hidden] On Behalf Of Gautam Kumar
Sent: Monday, October 23, 2017 10:07 AM
To: address@hidden
Subject: [lwip-users] Problem with TCP write.

 

Hi All,

 

I am using LWIP with ATSAME70. I am trying to send data over TCPIP, the port is getting opened successfully, but while send the data using TCP_Write(), it gives the error -1.

 

Please help me out in this regard.

 

Regards,

Gautam


reply via email to

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