A Client-Server command-line tool that provides an echo server for TCP
connections and a client to connect to any server accepting TCP
connections.
The tool was created using Apple's NWFramework
.
You can read the article explaining the command-line tool, here:
https://rderik.com/blog/building-a-server-client-aplication-using-apple-s-network-framework/
You can also get the "macOS network programming in Swift" guide. It includes more topics on building network applications on macOS, including:
- BSD Sockets in Swift
- Apple's Network.framework
- SwiftNIO
You can get it from the following link: