0
I'm trying to understand how I can elegantly use scala.util.control.Exception package.
To be more specific I want to convert this piece of Java code to functional way:
public static boolean hostAvailabilityCheck() {
try (Socket s = new Socket(SERVER_ADDRESS, TCP_SERVER_PORT)) {
re...