9b37a30b45
(cherry picked from commit ac753b4f3a8e679967d79a69d4af84e3e8a96dfd)
Sockets demo
To build use ../gradlew build or ./build.sh.
Run the server:
../gradlew run
To change run arguments, change property runArgs in gradle.propeties file
or pass -PrunArgs="3000" to gradle run.
Alternatively you can run artifact directly
./build/konan/bin/EchoServer/EchoServer.kexe 3000 &
Test the server by conecting to it, for example with telnet:
telnet localhost 3000
Write something to console and watch server echoing it back.
Quit telnet by pressing ctrl+] ctrl+D