0
This is my take on Happy Eyeballs in Scala, but I don't like the outcome. However, I was unable to come up with something "better". The requirements for the code are
must close all created, or going to be created, sockets in case the method does not return a socket, to avoid leaking resources
mu...