Skip to content

Instantly share code, notes, and snippets.

View carstenlucke's full-sized avatar

Carsten Lucke carstenlucke

View GitHub Profile
@carstenlucke
carstenlucke / Client.java
Created January 15, 2018 00:19
Simple echo server and simple client, using some Java 8 features
import java.io.PrintStream;
import java.net.Socket;
import java.util.Scanner;
import java.util.function.Supplier;
import java.util.stream.Stream;
public class Client {
public static void main(String[] args) {