How to create TCP Socket server connection using Angular in Ionic 4?

Hi,
I would like to create TCP Socket server connection in iOS and I’m using Angular in Ionic 4.
Is there any API available for it?