Write proper test cases in the test.cpp file. As of now, it is just a socket example which is impractical and unsafe.