Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TCP connections die after few seconds of inactivity [imported] #21

Open
agdl opened this issue Jul 12, 2016 · 0 comments
Open

TCP connections die after few seconds of inactivity [imported] #21

agdl opened this issue Jul 12, 2016 · 0 comments
Assignees

Comments

@agdl
Copy link
Member

agdl commented Jul 12, 2016

From @cmaglie on November 15, 2012 19:2

This is Issue 1024 moved from a Google Code project.
Added by 2012-08-31T10:45:38.000Z by [email protected].
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Defect, Priority-Medium

Original description

Hardware:

  • Arduino Leonardo
  • WiFi Shield

Software:

  • Arduino IDE 1.0.1
  • Mac OSX 10.7 / Ubuntu 12.04

Libraries:

  • WiFi Libraries (downloaded from arduino.cc)

What steps will reproduce the problem?

  1. Code a sketch to open a TCP connection with a simple TCP server (I tried with a Node.js HelloWorld as server)
  2. Sending and receiving messages works fine, so wait few seconds and the connection will be closed by the Arduino with a "reset" packet as the last packet sent from the board.
  3. Now you can't send/receive anything more and the server is not correctly notified about the connection status until it tries to read/write.

What is the expected output? What do you see instead?
I expected the connection to be kept open until it was closed properly by the server/client. No other client (except for Arduino) seems to drop the connection in this way.

I'm gonna attach a wireshark log about the traffic produced by my TCP server and the board.

Kind Regards.
Marco Lipparini

Copied from original issue: arduino/Arduino#1024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants