MySocket is exercise for synchronous socket