Skip to content

karmatr0n/tinyserver-swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Description

This program runs a small server receiving a string and returns a new one in upcase format. It was designed for academic purposes to understand how the Unix Sockets work in the Swift language.

Build instructions

$ xcrun swiftc -sdk $(xcrun --show-sdk-path --sdk macosx) -o tinyserver main.swift socket.swift

Command execution

$ ./tinyserver

Testing

$ telnet localhost 8000

Type something..

About

This program runs a small server using Unix Sockets in Swift

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages