Rene Stange

Results 285 comments of Rene Stange

The originator of this issue, who wanted to improve the MACB driver, is not available any more.

That's problem and unfortunately I don't have a quick solution for it. I looked into the code and I guess the blocked tasks hang in Receive(), waiting for the client...

> Does Circle currently time-out network connections / sockets that are idle > more than a pre-determined period of time? Or does Circle provide any way > for another task...

> So when waiting for the socket to cleanly close, can the Worker task do > anything else? Can I interrupt it, to tell it to check for something, >...

The class CTransportLayer implements an internal layer, which is normally not directly accessed by the user. That's why it is not documented. ListConnections() is an exception from that for debugging...

> So can I assume that this means that these connections are in the TCP-SYN state, and in the process of creating a new connection? > > If so, then...

Your ping delays are not very good, but I understand the reason. I think socket timeouts for Receive() and Send() will also help in this (remaining in SYN-RECEIVED) case. I...

While implementing the socket timeouts I found a bug in the TCP module, which might have caused the problem, why you have opened this issue. When an error occurred in...

The issue should be fixed on the *develop* branch and socket timeouts for receive and send have been added. This is used in the *sample/21-webserver* now. The class `CHTTPDaemon` has...

For the socket timeouts and the HTTP server the changes are in the following files: ``` include/circle/net/httpdaemon.h | 6 ++++-- include/circle/net/netconnection.h | 3 +++ include/circle/net/netsocket.h | 12 ++++++++++++ include/circle/net/socket.h |...