8000 GitHub - corneil/socket-server: Simple Socket Server in Kotlin on JVM
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

corneil/socket-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Socket Server

Build

This will build an application jar and a native version using GraalVM

./gradlew build nativeCompile

Remove nativeCompile if you don't have GraalVM installed or don't require a native image.

Execute

The default value for port is 9000

Application Jar

java -jar ./build/libs/socket-server-1.0-SNAPSHOT.jar [port]

Distribution

Expand build/distributions/socket-server-1.0-SNAPSHOT.zip or build/distributions/socket-server-1.0-SNAPSHOT.tar

cd build/distributions
unzip socket-server-1.0-SNAPSHOT.zip
cd socket-server-1.0-SNAPSHOT/bin
./socket-server [port]

Native

./build/native/nativeCompile/socket-server [port]

About

Simple Socket Server in Kotlin on JVM

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0