See the data that is transmitted to and from your application.
This utility includes its own SOURCE CODE and shows how to do low level socket IO in Swift.
Port Spy allows you to monitor several TCP/IP ports on your computer and see in detail what data is being exchanged. The data is displayed in the familiar hex/ascii view that is pretty much the standard for byte dumps.
Port Spy is indispensable if you need TCP/IP connections. For the client as well as for the server.
Source Code:
Because Port Spy is intended for developers, it includes its own source code as an Xcode project. Simply choose "Export Source Code" from the file menu and you have a ready-to-compile Xcode project with the full source code for this application.
You get to see first hand how low level socket programming can be done in Swift. The source code is -of course- well documented. And you are free to use the code any way you like for your own projects. You are not allowed not redistribute the source code though.
Port Spy also includes the source code for Ascii, BRUtils, SwifterLog, VJson and SwifterSockets. They too are free to use for your projects, but may not be redistributed.
点击按钮跳转至开发者官方下载地址...