TCP connection to private server (spark core as tcp client)

If you are not calling client.stop() then client.connect() is getting a new socket every time from the TI CC3000 WiFi chip and there are only 8 total sockets. Either leave the connection open and don’t call connect every time or call client.stop() when you are done and re-connect when you need to.

1 Like