Re: [lwip-users] Using lwIP polled, but not with lwip_poll

2020-08-17 Thread Jörg F. Wittenberger
Am Fri, 14 Aug 2020 10:07:00 -0400 schrieb Matt Walker : > Hi, > > I'm attempting to integrate lwIP into an embedded application > framework that supplies its own poll like functionality. I would like > to make it so that lwIP sockets can be added to the framework's > implementation of poll rathe

[lwip-users] Using lwIP polled, but not with lwip_poll

2020-08-14 Thread Matt Walker
Hi, I'm attempting to integrate lwIP into an embedded application framework that supplies its own poll like functionality. I would like to make it so that lwIP sockets can be added to the framework's implementation of poll rather than having a dedicated lwIP thread. I'd be interested in hearing i

Re: [lwip-users] using lwip with static memory

2019-04-04 Thread Simon Goldschmidt
On 04.04.19 07:18, Ranran wrote: Hello, Is it possible to use lwip with static memory ? We need to use lwip with safertos (safertos does not support heap). Is it done by enabling MEM_USE_POOLS=1 Exactly. You then have to define the pools for mem_malloc to use. You also need to enable MEMP_U

[lwip-users] using lwip with static memory

2019-04-03 Thread Ranran
Hello, Is it possible to use lwip with static memory ? We need to use lwip with safertos (safertos does not support heap). Is it done by enabling MEM_USE_POOLS=1 Thanks, ran ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/ma

Re: [lwip-users] Using LWIP Sequential API with non-preemptive (cooperative) OS

2019-03-01 Thread Sergio R. Caprile
I don't think the same port will run on a preemptive and a non-preemptive OS, even if it is the same OS. Did you check your port ? It will surely rely on some semaphores/mutexes for proper operation; I don't know how they will behave on a cooperative scenario. Anyway, your port provider should know

Re: [lwip-users] Using LWIP with PPP and NAT

2019-02-28 Thread Simon Goldschmidt
Ajay Bhargav wrote: > On Thu, Feb 28, 2019 at 5:07 PM goldsimon wrote: > > > > > > > > Am 28. Februar 2019 12:16:00 MEZ schrieb Ajay Bhargav > > : > > >I am yet to update the repo to latest lwIP source, but you can still > > >use it. > > >Usage information is given here: > > >https://github.com/a

Re: [lwip-users] Using LWIP with PPP and NAT

2019-02-28 Thread Ajay Bhargav
On Thu, Feb 28, 2019 at 5:07 PM goldsimon wrote: > > > > Am 28. Februar 2019 12:16:00 MEZ schrieb Ajay Bhargav > : > >I am yet to update the repo to latest lwIP source, but you can still > >use it. > >Usage information is given here: > >https://github.com/ajaybhargav/lwip_nat/blob/master/src/core

Re: [lwip-users] Using LWIP with PPP and NAT

2019-02-28 Thread goldsimon
;From: Flavio Castro Alves Filho >Sent: Thursday, February 28, 2019 3:50 PM >To: Mailing list for lwIP users >Subject: Re: [lwip-users] Using LWIP with PPP and NAT > >And how do I use this code? Or I can't use this code? > >As I am not an LwIP expert, I couldn't even ident

Re: [lwip-users] Using LWIP with PPP and NAT

2019-02-28 Thread Ajay Bhargav
Filho Sent: Thursday, February 28, 2019 3:50 PM To: Mailing list for lwIP users Subject: Re: [lwip-users] Using LWIP with PPP and NAT And how do I use this code? Or I can't use this code? As I am not an LwIP expert, I couldn't even identify the different code from that repo :-| Be

Re: [lwip-users] Using LWIP with PPP and NAT

2019-02-28 Thread Flavio Castro Alves Filho
And how do I use this code? Or I can't use this code? As I am not an LwIP expert, I couldn't even identify the different code from that repo :-| Best regards, Flavio Em ter, 26 de fev de 2019 às 05:26, Ajay Bhargav escreveu: > > > I don't know @BernardXiong or @hichard, but the NAT code is cle

[lwip-users] Using LWIP Sequential API with non-preemptive (cooperative) OS

2019-02-28 Thread uaz
Hi everyone, Are LWIP sequential APIs strictly for preemptive OS? I'm saying this because I've been struggling to make my application to run smoothly. I have tried doing TCP and UDP servers using netconn and BSD socket which ran perfectly with at low bandwidth. But when I implement at my real ap

Re: [lwip-users] Using LWIP with PPP and NAT

2019-02-26 Thread Ajay Bhargav
> I don't know @BernardXiong or @hichard, but the NAT code is clearly marked > as originating 2009 from Christian Walter. He was the one uploading this > code to our bugtracker in 2009, without the right to do so, obviously. > > I ended up deleting these files from the bugtracker, but it seems they

Re: [lwip-users] Using LWIP with PPP and NAT

2019-02-26 Thread Simon Goldschmidt
Ajay Bhargav wrote: > An: "Mailing list for lwIP users" > Betreff: Re: [lwip-users] Using LWIP with PPP and NAT > > > That ones seems pretty inactive? Also, they seem to have a mixed license > > where the NAT part seems to be GPL, while lwIP has a BSD license. &

Re: [lwip-users] Using LWIP with PPP and NAT

2019-02-25 Thread Ajay Bhargav
> That ones seems pretty inactive? Also, they seem to have a mixed license > where the NAT part seems to be GPL, while lwIP has a BSD license. > > In addition to that, the ip4_nat.c file seems to be based on code > uploaded to our bugtracker in 2009 which got revoked because the one who > uploaded

Re: [lwip-users] Using LWIP with PPP and NAT

2019-02-25 Thread goldsi...@gmx.de
Am 21.02.2019 um 20:16 schrieb Flavio Castro Alves Filho: Hello, I am new to LWIP and also new to this mailling list. I saw a discussion about the use of NAT on this following thread: http://lwip.100.n7.nabble.com/ESP8266-as-WiFi-to-PPP-Bridge-td28522.html (I don't know, if it is possible, to

[lwip-users] Using LWIP with PPP and NAT

2019-02-22 Thread Flavio Castro Alves Filho
Hello, I am new to LWIP and also new to this mailling list. I saw a discussion about the use of NAT on this following thread: http://lwip.100.n7.nabble.com/ESP8266-as-WiFi-to-PPP-Bridge-td28522.html (I don't know, if it is possible, to continue the thread without have received the email. Sorry).

[lwip-users] Using LWIP o the Zynq board to send out data in RAW mode causes problems

2018-03-30 Thread Sab VS
Hi, I am currently trying to use LWIP by calling tcp_write() and tcp_output() once a connection has been established and an incoming request is generated. I set a variable when an incoming reuest is generate and use a global tcp_pcb structure to know which connection to send data on nt send_data(

Re: [lwip-users] using lwIP in commercial product

2018-03-29 Thread goldsi...@gmx.de
On 29.03.2018 18:27, santosh wrote: I apologize for digging into an old thred. Is there a page which had been built to show which commercial products/OEMs have used LWIP in them? None that I know of. Unfortunately, people don't come here to tell which version of lwIP they released in a produc

Re: [lwip-users] using lwIP in commercial product

2018-03-29 Thread santosh
I apologize for digging into an old thred. Is there a page which had been built to show which commercial products/OEMs have used LWIP in them? I'm trying to build a case study of similar reasons addressed by the original poster of this thread. Best Regards Santosh Athuru -- Sent from: http:

Re: [lwip-users] using lwIP in commercial product

2012-07-04 Thread Kieran Mansley
On 3 Jul 2012, at 23:48, Hassan Mansouri wrote: > Hi all, > > I am in the process of choosing a TCP/IP stack for a commercial product in my > company. Is it OK using lwIP stack in commercial product? What I am missing > by not using a commercial product like NicheStack or other stack commercia

Re: [lwip-users] using lwIP in commercial product

2012-07-04 Thread trex7
Hi, We are using lwip on our project. Lwip is use as a client for audio streaming and at the same time as a webserver. On the beginning of our project we encountered some difficuties by now the problems are fixed. Let say the first steps are not easy but on the other hand lwip is too powerful to

[lwip-users] using lwIP in commercial product

2012-07-03 Thread Hassan Mansouri
Hi all, I am in the process of choosing a TCP/IP stack for a commercial product in my company. Is it OK using lwIP stack in commercial product? What I am missing by not using a commercial product like NicheStack or other stack commercially available? Has lwIP been certified or proven in any com

Re: [lwip-users] Using lwIP with multiple process

2012-02-16 Thread Simon Goldschmidt
LABARTHE Guillaume wrote: > Now what i'am trying to do is to create to process (a client and a server) > that uses the same instance of lwIP. > the problem is that i can't figure out how to do it. I was only able to > link my programs against the shared library but it seems that the library is >

[lwip-users] Using lwIP with multiple process

2012-02-16 Thread LABARTHE Guillaume
Hi everybody, I'm currently trying to use lwIP on a Red Hat system. I looked at the port in the contrib directory and was able to write my own driver. I also used the makefile proposed to generate a self-initialising shared library. Now what i'am trying to do is to create to process (a client an

Re: [lwip-users] using lwip socket instead of a bsd socket on Mac OS or Linux

2011-10-16 Thread Kieran Mansley
On 15 Oct 2011, at 20:34, Prashant R wrote: > in other words , if I have code written for mac OS X that currently uses a > bsd socket , can I replace it to use an lwip socket compiled on Mac OS X ? Maybe. If it's doing simple things with the socket API then yes, there's a good chance it wi

Re: [lwip-users] using lwip socket instead of a bsd socket on Mac OS or Linux

2011-10-15 Thread Prashant R
in other words , if I have code written for mac OS X that currently uses a bsd socket , can I replace it to use an lwip socket compiled on Mac OS X ? On Sat, Oct 15, 2011 at 12:08 PM, Kieran Mansley wrote: > > On 14 Oct 2011, at 19:44, Prashant R wrote: > > > Has someone used an lwip socket in

Re: [lwip-users] using lwip socket instead of a bsd socket on Mac OS or Linux

2011-10-15 Thread Kieran Mansley
On 14 Oct 2011, at 19:44, Prashant R wrote: > Has someone used an lwip socket instead of a BSD socket on Mac OS or Llinux ? Yes. lwIP sockets do not quite support all the functionality of a full implementation of BSD sockets, but it is often good enough that you can just compile against a si

[lwip-users] using lwip socket instead of a bsd socket on Mac OS or Linux

2011-10-14 Thread Prashant R
Hi , Has someone used an lwip socket instead of a BSD socket on Mac OS or Llinux ? Any info or direction regarding this would be immensely helpful . Thanks ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip

Re: [lwip-users] Using lwIP in Win32 Environment

2010-03-21 Thread Mike Kleshov
Hi John, When I was trying out lwip, the win32 port was the first thing I got working. It's useful when you want to evaluate lwip and see how best to integrate it into your application. I imagine, that's the primary purpose of this port and that's how most people would use it. __

[lwip-users] Using lwIP in Win32 Environment

2010-03-16 Thread John Stratoudakis
Hi, I am new to the lwIP user-community and was wondering if anybody out there is using lwIP in a Windows Environment? (i.e. a Windows Port) I found a nice port in the contrib directory and have been having success with it (so far) and was wondering if anybody else has used lwIP (or any ot

Re: [lwip-users] using Lwip without callback in non-OS environment

2010-03-04 Thread Kieran Mansley
On Thu, 2010-03-04 at 13:50 +0530, Mrutyunjay wrote: > > > I need to use lwip without callback , if i use call back i cannot > control > the sequence of external device access. LwIP has 3 APIs: raw, netconn and sockets. Simon recently posted a comparison of the different APIs and their tradeoff

Re: [lwip-users] using Lwip without callback in non-OS environment

2010-03-04 Thread Mrutyunjay
hi , yes thats true , we did had problems if all function had their worst cases, so i modified it to . while(1){ function0 tcp stack process function1 h/w process function0 tcp stack process function2 tcp server process (tcp listener) function0 tcp stack process function3 tcp client pr

Re: [lwip-users] using Lwip without callback in non-OS environment

2010-03-04 Thread Kieran Mansley
On Thu, 2010-03-04 at 13:50 +0530, Mrutyunjay wrote: > > existing code uses round robin framework. each function worst case > in-out > time is 300 miliSeconds That means you've got a worst case of 1.5 seconds between calls to one of those functions. This might be a problem as you won't be able t

[lwip-users] using Lwip without callback in non-OS environment

2010-03-04 Thread Mrutyunjay
hi, I need to port a application from different processor and proprietary Tcp stack which is also OS-less, to lwip OS-less environment. existing code uses round robin framework. each function worst case in-out time is 300 miliSeconds while(1){ function0 tcp stack process function1 h/w proces

[lwip-users] Using lwip for writing a minimal HTTP proxy

2009-09-24 Thread Mandeep Sandhu
Hi All, I'm implementing a very minimal HTTP proxy server, using lwIP (1.3.1) in "sequential" mode. I've based my code on the sample http webserver that is provided along with lwIP (httpd_sequential.c). I'm using ecos. The way the server works is simple. Eg: A request like http:///local/index.htm

Re: [lwip-users] Using LWIP

2009-01-22 Thread goldsi...@gmx.de
Hi michael, First you need a port to use lwIP o your platform. There are existing ports for unix and win32 in the conrtib module. As to your application: I guess you would need to write a virtual ethernet driver. An example skeleton of this can be found in src/netif/ethernetif.c and use this

[lwip-users] Using LWIP

2009-01-22 Thread Michael Long
Hi I am developing a standalone application which will use LWIP. Idea is that I will only need LWIP to format the data using tcp/ip prototcol and then I need to take the formated data which has been processed by tcp/ip and send it using my own functions in my application. Can somebody give me so

RE : [lwip-users] Using lwIP with 2 EMACs

2007-05-22 Thread Frédéric BERNON
mai 2007 10:06 À : lwip-users@nongnu.org Objet : [lwip-users] Using lwIP with 2 EMACs Hi, I'm planning to use a µC with 2 Emacs in my project. Is lwIP capable of using more than 1 Emac? Besides: Is there any do

[lwip-users] Using lwIP with 2 EMACs

2007-05-22 Thread Matthias Wieloch
Hi, I’m planning to use a µC with 2 Emacs in my project. Is lwIP capable of using more than 1 Emac? Besides: Is there any documentation about the netconn interface? I have it in use from a FreeRTOS example project but I have problems understanding the code of the functions. Regards Matt

Re: [lwip-users] using lwIP with VDK and VDSP

2006-05-24 Thread Christiaan Simons
Hi Pavel, > The problem is I can not properly include all necessary headers. When > I put '#include ' it appears that the file in it's turn > references other files in the manner '#include "lwip/arch.h"'. The > compiler can not find that file. > > Am I doing something wrong and how to include nece

[lwip-users] using lwIP with VDK and VDSP

2006-05-24 Thread Pavel Grishin
Hello, I would like to call internal stack functions (like udp_*, pbuf_*) from my application. The problem is I can not properly include all necessary headers. When I put '#include ' it appears that the file in it's turn references other files in the manner '#include "lwip/arch.h"'. The compiler