billroy / socket.io-arduino-client

A socket.io client for the Arduino Ethernet shield
MIT License
195 stars 66 forks source link

no reason to terminate connection before upgrade request #5

Open jacobrosenthal opened 10 years ago

jacobrosenthal commented 10 years ago

I used your code to get familiar with sockets (thanks!) and realized one thing while working with it and wanted to give it back. Your disconnect and reconnect is superfluous. Try it on your setup.