mmatte
mmatte

Reputation: 21

How to implement Sockets into an iOS project

First things first, I am an 18 yo student, I'm not so skilled. I'm trying to create an iOS application, something easy just to send messages between two clients... I'm studying Java Sockets, basic level, but I found so difficult to implement these into an iOS project... (I'm a rookie at Swift). I would like to ask you if someone knows how to do that and to explain it to me. Thanks to you all for the time you spent.

Upvotes: 0

Views: 1289

Answers (1)

Tristan R.
Tristan R.

Reputation: 71

I implemented a very simple TCP socket here: https://github.com/tristanratz/ChatApp/blob/master/ClientApp/Socket.swift

If you want want you can have a look. You can connect to a host, send and subscribe to received messages.

Upvotes: 2

Related Questions