Fresh Beginning
  • Home
  • Portfolio
  • My Clothing Shop
  • Etsy Clothing Store
  • Buy Me A Coffee
  • Patreon
  • Speaking
  • Reading
  • About Me
  • Contact Me
Subscribe

NWConnection

A collection of 2 posts
How to create a native iOS WebSocket client and connect it to the server
web socket

How to create a native iOS WebSocket client and connect it to the server

In the last post, we saw how to create a web socket server using NWConnection. In this post, we will complete that article by learning how to create an equivalent client which can talk to this server on the specified port. As mentioned in my other article, we will use
Jan 26, 2022 7 min read
web socket

Creating a WebSocket server on iOS using NWConnection

In the last couple of blog posts, we saw how to write a client-side code to handle web socket connections using native and third-party support. In this post, I will go over creating a web socket server on iOS in Swift using newly introduced NWConnection in iOS 13. New Project
Jan 25, 2022 6 min read
Fresh Beginning © 2025
Powered by Ghost