sockets SwiftPM circleci

Pure-Swift Sockets: TCP, UDP; Client, Server; Linux, OS X.

Socks

Swift Build Status CircleCI Code Coverage Codebeat Slack Status

Pure-Swift Sockets. Linux & OS X ready.

Usage

A Simple TCP Client

Full code

	import Socks

	let address = InternetAddress(hostname: "google.com", port: 80)
	do {
	    let client = try TCPClient(address: address)
	    try client.send("GET /\r\n\r\n")
	    let str = try client.read().makeString()
	    try client.close()
	    print("Received: \n\(str)")
	} catch {
	    print("Error \(error)")
	}

Related Repositories

monolog

monolog

Sends your logs to files, sockets, inboxes, databases and various web services ...

noVNC

noVNC

VNC client using HTML5 (Web Sockets, Canvas) with encryption (wss://) support. ...

hummingbird

hummingbird

Real time web analytics using node.js and web sockets ...

proxychains-ng

proxychains-ng

proxychains ng (new generation) - a preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies. continuation of the unmaintained proxychains project. the sf.net page is currently not updat ...

flask-sockets

flask-sockets

Elegant WebSockets for your Flask apps. ...


Top Contributors

czechboy0 tanner0101 LoganWright BrettRToomey banxi1988 MatthiasKreileder lgaches Joannis imcotton justMaku hpux735

Releases

-   2.0.1 zip tar
-   2.0.0 zip tar
-   2.0.0-beta.6 zip tar
-   2.0.0-beta.5 zip tar
-   2.0.0-beta.4 zip tar
-   2.0.0-beta.3 zip tar
-   2.0.0-beta.2 zip tar
-   2.0.0-beta.1 zip tar
-   2.0.0-alpha.3 zip tar
-   2.0.0-alpha.2 zip tar
-   2.0.0-alpha.1 zip tar
-   1.2.7 zip tar
-   1.2.6 zip tar
-   1.2.5 zip tar
-   1.2.4 zip tar
-   1.2.3 zip tar
-   1.2.2 zip tar
-   1.2.1 zip tar
-   1.2.0 zip tar
-   1.1.1 zip tar
-   1.1.0 zip tar
-   1.0.1 zip tar
-   1.0.0 zip tar
-   0.12.2 zip tar
-   0.12.1 zip tar
-   0.12.0 zip tar
-   0.11.0 zip tar
-   0.10.0 zip tar
-   0.9.0 zip tar
-   0.8.3 zip tar