TCPClient & ParticleCloud in the Electron

Is it possible to use both, the particle cloud AND send messages to a TCP/IP Address using the TCPClient library at the same time? Or do I have to disconnect from cloud and everything to make it work?

Hi @frlobo

You can use both at the same time. You can even have more than one TCP/IP client running but there is a limit on how many you can have.


Great!! I only need one connection so I think it won’t be a problem :blush:

1 Like

Thanks for the help @bko!

How many TCPClient’s can you have on an Electron?

You can have 7 of all types of sockets, client, server, TCP and UDP combined on the Electron.

1 Like

@rickkas7, is that 7 total including the cloud connection or 7 available to the user?

I wondered about that too. I’d guess probably 6 available to the user, but I don’t know that for a fact.


@rickkas7 thanks, I am using two at the moment but will want an extra one