# Tcpclient.connect issue \[SOLVED\]

**URL:** <https://community.particle.io/t/tcpclient-connect-issue-solved/12859>\
**Category:** Troubleshooting\
**Created:** [June 29, 2015, 5:37am UTC](https://community.particle.io/t/tcpclient-connect-issue-solved/12859 "2015-06-29T05:37:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Hootie81](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/hootie81/32/2879_2.png) [@Hootie81](https://community.particle.io/u/Hootie81)\
**Post date:** [June 29, 2015, 9:00am UTC](https://community.particle.io/t/tcpclient-connect-issue-solved/12859/2 "2015-06-29T09:00:24Z")

</div>

I would check your DNS first using this [great tool](https://community.particle.io/t/dnstest-tool-testing-your-core-internet-connection/7667)

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](https://community.particle.io/t/faster-http-request/9768/6) have a look at the HTTPclient library on the web IDE for example and how to use it.

---

_[View the full topic](https://community.particle.io/t/tcpclient-connect-issue-solved/12859)._
