-1

Hi I am a newbie in iOS and Swift. I did some search on internet and i could not find a definite answer to my quest. I found socket.io but this is web socket.

Can you help and tell me the equivalent of TCP Client and TCP server for iOS for Swift 3.

I have these questions

If I use the iOS-base equivalent TCP client to send a message to server

1) On server-side, can I use other TCP Server to return message? any issue?

Thanks

MilkBottle
  • 4,242
  • 13
  • 64
  • 146

1 Answers1

-1

I highly recommend to use Http request to send request to server and get a response from server, for more info check this question.And also to send data to client from server directly send a push notification to client.

However look at this link for tcp communication.

Community
  • 1
  • 1
Shadmehr
  • 278
  • 4
  • 13