After some further reading I realize that the RedPine module might be a substantially easier solution if what I read about it is correct.
It seems that the redpine module already has a TCP/IP stack implemented in it? is this correct?
I cannot find any component or anything for psoc that supports tcp connections, only udb, which is fine initially.
Yes you are correct. Redpine modules have stack inside.