UDP and TCP communication

I have a device that, at the moment, communicate with a PC using UDP protocol for some messages and TCP for some others.
Is there a way to use those protocols in Thunkable X?