Can be created a Server with sockets in iOS device?

That is my question.

I have seen lots of tutorial to make a call to a Mac server from iOS device, but I have not found a conexion from iOS server to a iOS Client.

I have done this on Android but not in iOS yet :frowning:

Any idea?

Thanks in advance.