This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// receive packets via UPD in Swift | |
// Original: https://gist.github.com/NeoTeo/b6195efb779d925fd7b8 | |
// server only converted to Swift 4 2018-02-24 by rhn@nicholson.com | |
// | |
// swiftc udp_receive.swift -o udp_receive | |
// | |
import Foundation |