This repository includes the code for a TCP echo server built using BSD sockets using Swift.
If you want to learn more, you can read the article that explains the code here:
https://rderik.com/blog/using-bsd-sockets-in-swift/.
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: