Looking for Network related sample code in Swift


#1

This is my implementation, the Socket.swift is a little messy.

Index:
SXSocketAddress.swift ― sockaddr address implementation
SXClient/SXServer ― client socket / server socket
Socket.swift ― send/recv
SXRuntime.swift ― epoll/kevent
DNS.swift ― ip lookup
NetworkInteface.swift ― network interfaces (ifaddrs)

https://github.com/projectSX0/spartanX/tree/master/Sources