Is there a reliable swift package for running a tcp connection from an ios app ?

This page summarizes the projects mentioned and recommended in the original post on /r/SwiftUI

Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • InfluxDB - Access the most powerful time series database as a service
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SwiftSocket

    The easy way to use sockets on Apple platforms

    I managed to make it kind of work with CFStreamCreatePairWithSocketToHost but it seems to be deprecated. SwiftSocket looks to be a good solution too but at this point I'm not very sure what to do or what to use.

  • swift-nio

    Event-driven network application framework for high performance protocol servers & clients, non-blocking.

    If you want something a little more robust for a low-level TCP connection, you can also use SwiftNIO.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support. Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts