How To Set Up a Connection Over LAN in SwiftUI

Bonjour over a network framework in iOS

Mark Lucking
Better Programming
Published in
3 min readMar 21, 2021

--

Storefront that reads “Bonjour.”
Photo by Faisal Waheed on Unsplash.

I’m sure you’ve heard the saying “The secret to success is networking.” I suspect it’s also the secret to building killer apps. Let’s take a journey through the tech you can use to connect your apps (aka sockets).

OK, there are two flavours: TCP and UDP. In short, TCP sockets guarantee…

--

--

Coding for 35+ years, enjoying using and learning Swift/iOS development. Writer @ Better Programming, @The StartUp, @Mac O’Clock, Level Up Coding & More