Skip to content

Instantly share code, notes, and snippets.

View hotpaw2's full-sized avatar

Ronald Nicholson hotpaw2

View GitHub Profile
hotpaw2 / udp_receive.swift
Last active February 24, 2018 18:38 — forked from NeoTeo/UDPSendReceive.swift
A minimal implementation of a Posix UDP server in Swift.
// receive packets via UPD in Swift
// Original:
// server only converted to Swift 4 2018-02-24 by
// swiftc udp_receive.swift -o udp_receive
import Foundation