Comments (3)
The regular (blocking) connect() will wait until the tcp-timeouts have expired (which is several minutes...) before it recovers. If the initial SYN-packet happens to never reach the remote-host plugging back might not help immediatly in this case as the retransmits will take more and more time. I have no plans to change that. But you may want to check out the nonblocking connect() that is to be found in the 'ext-branch' https://github.com/ntruchsess/arduino_uip/tree/ext/examples/NonBlockingTcpClient
from arduino_uip.
I added the option to configure a connect-timeout that is independent of uIP internal timeouts: 5155710
configure by setting UIP_CONNECT_TIMEOUT in https://github.com/ntruchsess/arduino_uip/blob/master/utility/uipethernet-conf.h#L19.
from arduino_uip.
closing this as fixed. If the change doesn't suit your needs or you run into further issues reopen or create a new issue - whatever is more appropriate.
from arduino_uip.
Related Issues (20)
- How to change the CS pin in software? HOT 3
- Can anyone advise on the current status of this library? HOT 9
- How to hookup the enc module to mega2560 to use this library? HOT 1
- How to make HTTPS connection using UIPEthernet lib? HOT 1
- Arduino Due
- ENC28j60 bitwise OR 0x80
- Starting Etherenet from an external class
- client.available() always returns false HOT 1
- How to recover the IP address of the client?
- Cannot open source file, Error
- How to send the data over tcp ? HOT 1
- how to send packet over tcp with static ip
- Arduino micro and enc28j60 doesn't work for me HOT 2
- where is udp.h HOT 1
- enc28j60 server connection only 4 times HOT 1
- enc28j60 server connection only 4 times
- compiler warning import => include
- ESP8266 freeze when TCP connection intempestively close.
- Arduino nano every
- error: #include nested too deeply #include <Arduino.h> & error: #include nested too deeply #include "clock-arch.h"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino_uip.