Code sample to create a LAN chat using Groovy/Gradle/JGroup