https://github.com/dustturtle/networkswiftdemo
Intro demo to WWDC2018 new Network framework; all by swift.
https://github.com/dustturtle/networkswiftdemo
Last synced: about 2 months ago
JSON representation
Intro demo to WWDC2018 new Network framework; all by swift.
- Host: GitHub
- URL: https://github.com/dustturtle/networkswiftdemo
- Owner: dustturtle
- License: mit
- Created: 2018-06-19T12:14:59.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-07T09:14:47.000Z (over 7 years ago)
- Last Synced: 2025-01-17T21:31:27.650Z (over 1 year ago)
- Language: Swift
- Size: 16.6 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NetworkSwiftDemo
Intro demo to WWDC2018 new Network framework; all by swift.
How to use:
This demo contains a sender and a listener.
(Now the sender has not been implemented yet.)
You can test it with the nc tool built in the mac os.
for example:
You use the listener in the demo, listen to port 8888;
then go to the terminal:
nc 127.0.0.1 8888 -- here we will get a connection
test message1 -- typing to send messages to port 8888, will be captured by the listener
test message2 -- typing to send messages to port 8888, will be captured by the listener
EOF -- ctl+c disconnect