[bug #55061] netconn_accept continously in waiting state.

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

[bug #55061] netconn_accept continously in waiting state.

Jasper Verschueren
URL:
  <https://savannah.nongnu.org/bugs/?55061>

                 Summary: netconn_accept continously in waiting state.
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: rmadhuraj
            Submitted on: Tue 20 Nov 2018 12:56:51 PM UTC
                Category: sockets/netconn
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: 2.0.2

    _______________________________________________________

Details:

Hi ,

   I am using lwip 2.0.2 on the mynewt OS (RTOS). Trying to make a netconn
based server app on STM32 based ethernet device
To test this app i am using a simple linux based tcp client program on my
PC.(STM32 device and PC are connected to same network)

  I am getting issue like netconn_accept is not coming out of the waiting
state, even though the client is connected to it. I confirmed this from the
client side as it is connected to a server.

  Even though the server is responding to client request , netconn_accept
coming out of the wait state .


Any idea ?

Thanks



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 20 Nov 2018 12:56:51 PM UTC  Name: server-main.c  Size: 15KiB   By:
rmadhuraj
temp-client.c is the client program that  iam running on the linux PC
<http://savannah.nongnu.org/bugs/download.php?file_id=45495>
-------------------------------------------------------
Date: Tue 20 Nov 2018 12:56:51 PM UTC  Name: temp-client.c  Size: 800B   By:
rmadhuraj
temp-client.c is the client program that  iam running on the linux PC
<http://savannah.nongnu.org/bugs/download.php?file_id=45496>
-------------------------------------------------------
Date: Tue 20 Nov 2018 12:56:51 PM UTC  Name: lwipopts.h  Size: 8KiB   By:
rmadhuraj
temp-client.c is the client program that  iam running on the linux PC
<http://savannah.nongnu.org/bugs/download.php?file_id=45497>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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 #55061] netconn_accept continously in waiting state.

Jasper Verschueren
Follow-up Comment #1, bug #55061 (project lwip):

What evidence do you have this is a bug in lwIP? Do you know that the port to
the mynewt thing is working correctly? I strongly suspect this is *not* a bug
in lwIP but a bug in your port or application. In that case, this bug tracker
is the wrong place for this issue.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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 #55061] netconn_accept continously in waiting state.

Jasper Verschueren
Follow-up Comment #2, bug #55061 (project lwip):

Sorry for the wrong bug.

Simon . You are correct. The issue with the port to the OS. The system
abstraction layer was bit incomplete , which caused me the issue. Now it is
fixed after re working on the sys abstraction layer.

Please close/delete this bug .

Thanks



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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 #55061] netconn_accept continously in waiting state.

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

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


    _______________________________________________________

Reply to this item at:

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

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


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