https://www.myerrorsandmysolutions.com/how-to-test-socket-connections/
HOW TO test Socket connections