[bug #54999] LWIP UDP and TCP Concurrent Operation

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug #54999] LWIP UDP and TCP Concurrent Operation

Jasper Verschueren
URL:
  <https://savannah.gnu.org/bugs/?54999>

                 Summary: LWIP UDP and TCP Concurrent Operation
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: basepolodad
            Submitted on: Fri 09 Nov 2018 08:40:07 PM MST
                Category: None
                Priority: 5 - Normal
                Severity: 4 - Important
                  Status: None
             Assigned to: None
        Originator Email: [hidden email]
        Operating System: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I am using LWIP in a TI TM4C129X MCU application that sends UDP packets every
10ms and receives TCP packets that contain configuration settings for out
hardware.  I can send UDP packets without a problem and I can receive/send TCP
packets but when I try to do both I eventually get a stack overflow.  Can LWIP
handle UDP and TCP concurrently?  




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54999>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel
Reply | Threaded
Open this post in threaded view
|

[bug #54999] LWIP UDP and TCP Concurrent Operation

Jasper Verschueren
Update of bug #54999 (project lwip):

            lwIP version:                    None => Other                  

    _______________________________________________________

Follow-up Comment #2:

Yes, of course concurrent operation is supported! I assume there's something
wrong in the way you are using lwip.

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?54999>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel
Reply | Threaded
Open this post in threaded view
|

[bug #54999] LWIP UDP and TCP Concurrent Operation

Jasper Verschueren
Follow-up Comment #3, bug #54999 (project lwip):

Are you using threads or RTOS?

Are you calling any lwip api from i interrupts?

By experience, the tcp raw api is where it is easiest to do small mistakes
that can cause crash or lockups later. Try to minimize your code to a working
crashing one and ask help at the users mailinglist

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?54999>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel
Reply | Threaded
Open this post in threaded view
|

[bug #54999] LWIP UDP and TCP Concurrent Operation

Jasper Verschueren
Update of bug #54999 (project lwip):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                

    _______________________________________________________

Follow-up Comment #4:

Exactly. Concurrent operation is no problem in lwip. Closing this as invalid.
Please write to the lists of you have questions about the usage of lwip.

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?54999>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel