Tcpclient.connect issue [SOLVED]

I would check your DNS first using this great tool

client.print is very slow and causes a few problems, so client.write is a much better way of doing things.

There is also a library for this type of connection too, adds some nice features. I updated it to use the client.write method a while ago so its nice and quick, you can fine the .h and .cpp files here have a look at the HTTPclient library on the web IDE for example and how to use it.

2 Likes