[lwip-users] Multiple servers under LwIP

2015-02-07 Thread Robert Deschambault
Hi, I am using the latest sources from the master branch and I am running on a STM32F429 under CMSIS-RTOS/RTX. I am putting together a framework for our application that includes multiple servers each running in its own thread. I have written and tested the code for each server individually and

Re: [lwip-users] Multiple servers under LwIP

2015-02-07 Thread Sylvain Rochet
Hello Robert, On Sat, Feb 07, 2015 at 10:18:29AM -0500, Robert Deschambault wrote: > Hi, > > I am using the latest sources from the master branch and I am running on a > STM32F429 under CMSIS-RTOS/RTX. I am putting together a framework for our > application that includes multiple servers each ru

Re: [lwip-users] Multiple servers under LwIP

2015-02-07 Thread Robert Deschambault
I am very sure you are right! I will review my code to make sure I am compliant with the lwIP threading model as you describe. I will let you know how it goes. Thanks! Bob On Sat, Feb 7, 2015 at 11:26 AM, Sylvain Rochet wrote: > Hello Robert, > > On Sat, Feb 07, 2015 at 10:18:29AM -0500, Robe

[lwip-users] Where to get the LwIP version information

2015-02-07 Thread Robert Deschambault
Hi, Where is the best place to get lwIP version info so I can echo it back when my app starts up? Thanks, Bob ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users

[lwip-users] smtp app & tcp_connect vs lwip_connect

2015-02-07 Thread Newman, Adam
Hi, I'm using LWIP 1.4.1 with VDK on Blackfin. I've been trying to implement email in my application and I saw a nice app in the source code for smtp (thanks Simon!). However, according to my call stack, my application crashes inside tcp_input when the ACK is received from the server because th

Re: [lwip-users] smtp app & tcp_connect vs lwip_connect

2015-02-07 Thread goldsi...@gmx.de
Newman, Adam wrote: The comments for the smtp app state that the smtp_send_request should be created somewhere safe for interrupt context. Is this at all related to the above unsafe-ness Yes. That is, if I understood you correctly. You should use smtp_send_mail_int (see below) when not callin

Re: [lwip-users] Multiple servers under LwIP

2015-02-07 Thread Noam weissman
Hi, In application I have written we run multiple servers without any problems. On a home automation controller I run: HTTP server TCP (telnet) server UDP (terminal)server 6 UDP or TCP bridges (UART <-> TCP) All running together. Your are doing something wrong. It should work. BR, Noam.

Re: [lwip-users] Virtual machines in the same host (bridge).

2015-02-07 Thread Valery Ushakov
Sylvain Rochet wrote: > On Fri, Feb 06, 2015 at 01:29:28PM -0200, Norberto R. de Goes Jr. wrote: > >> I think the problem is in the my virtual environment (vm?s). I run the >> application in real servers and the ping replies have success. >> Thank you very much. > > Yes, this is exactly what I pr